[U-Boot] [PATCH v2 0/7] Add cros-ec protocol driver and enable it in smdk5250
Hung-ying Tyan
tyanh at chromium.org
Mon Mar 18 17:22:00 CET 2013
This patch series adds the drivers for the cros-ec protocol that is used to
communicate with the ChromeOS Embedded Controller (EC). The series also enables
its use in Google Snow based on smdk5250.
The series depends on the following patches:
1) http://patchwork.ozlabs.org/patch/217347 add dts file for Snow
2) mmc series: http://patchwork.ozlabs.org/patch/225008
3) power patches needed by one of the mmc patches
http://patchwork.ozlabs.org/patch/220060 EXYNOS5: Add function to setup set ps hold
http://patchwork.ozlabs.org/patch/220061 SMDK5250: Add PMIC voltage settings (needed by one of the mmc patches)
-----
Changes in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code from smdk5250.h to exynos5250-dt.h.
- Add gpio node to exynos5250.dtsi.
- Fixed warnings of exceeding 80 chars in a line.
- Added commit messages to each patch.
- Dropped the period from commit subjects.
Hung-ying Tyan (7):
cros: add cros_ec driver
cros: add I2C support for cros_ec
cros: 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: enable cros-ec for smdk5250
README | 5 +
arch/arm/dts/exynos5250.dtsi | 3 +
board/samsung/dts/exynos5250-snow.dts | 82 ++
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 +
doc/device-tree-bindings/spi/exynos-spi.txt | 55 +
drivers/input/Makefile | 1 +
drivers/input/cros_ec_keyb.c | 264 +++++
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 | 166 +++
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 +
22 files changed, 4512 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 doc/device-tree-bindings/spi/exynos-spi.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.1.3
More information about the U-Boot
mailing list