[U-Boot] [PATCH v5 0/7] Add cros-ec protocol driver and enable it in smdk5250
Hung-ying Tyan
tyanh at chromium.org
Wed May 15 12:27:27 CEST 2013
This patch series adds the drivers for the cros-ec protocol that is used to
communicate with the Chrome OS Embedded Controller (EC). The series also enables
its use in Google Snow which is based on smdk5250.
The last patch in this series depends on the patch in the MMC series that brings
in exynos5-dt.c:
http://patchwork.ozlabs.org/patch/240084.
-----
Changes in v5:
- Change ec-interrupt gpio pin from 174 to 782. This has to be changed again
after the GPIO pin numbering patches
(http://patchwork.ozlabs.org/patch/233417) are in.
- Add exynos: tag wherever applicable.
- Add/change dependency description.
Changes in v4:
- Removed unrelated exynos-spi.txt.
- Moved cros-ec-keyb.txt to the cros-ec-keyb patch.
- Removed old code and comment.
Changes in v3:
- Rearranged #include directives in alphabetical order.
- Removed outdated TODO and irrelevant bug reference in comments.
Changes in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code from smdk5250.h to exynos5250-dt.h.
- Added gpio node to exynos5250.dtsi.
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message.
- Dropped the period from commit subject.
Hung-ying Tyan (7):
cros: add cros_ec driver
cros: add I2C support for cros_ec
cros: exynos: add SPI support for cros_ec
cros: add LPC support for cros_ec
cros: adds cros_ec keyboard driver
cros: exynos: add cros-ec device nodes to exynos5250-snow.dts
cros: exynos: enable cros-ec for smdk5250
README | 5 +
arch/arm/dts/exynos5250.dtsi | 3 +
board/samsung/dts/exynos5250-snow.dts | 81 ++
board/samsung/smdk5250/exynos5-dt.c | 45 +
doc/device-tree-bindings/input/cros-ec-keyb.txt | 79 ++
doc/device-tree-bindings/misc/cros-ec.txt | 38 +
drivers/input/Makefile | 1 +
drivers/input/cros_ec_keyb.c | 261 ++++
drivers/misc/Makefile | 4 +
drivers/misc/cros_ec.c | 1304 ++++++++++++++++++++
drivers/misc/cros_ec_i2c.c | 199 ++++
drivers/misc/cros_ec_lpc.c | 283 +++++
drivers/misc/cros_ec_spi.c | 161 +++
drivers/spi/exynos_spi.c | 22 +
include/configs/exynos5250-dt.h | 10 +-
include/cros_ec.h | 449 +++++++
include/cros_ec_message.h | 44 +
include/ec_commands.h | 1440 +++++++++++++++++++++++
include/fdtdec.h | 2 +
include/spi.h | 16 +
lib/fdtdec.c | 2 +
21 files changed, 4448 insertions(+), 1 deletion(-)
create mode 100644 doc/device-tree-bindings/input/cros-ec-keyb.txt
create mode 100644 doc/device-tree-bindings/misc/cros-ec.txt
create mode 100644 drivers/input/cros_ec_keyb.c
create mode 100644 drivers/misc/cros_ec.c
create mode 100644 drivers/misc/cros_ec_i2c.c
create mode 100644 drivers/misc/cros_ec_lpc.c
create mode 100644 drivers/misc/cros_ec_spi.c
create mode 100644 include/cros_ec.h
create mode 100644 include/cros_ec_message.h
create mode 100644 include/ec_commands.h
--
1.8.2.1
More information about the U-Boot
mailing list