[U-Boot] [PATCH v4 0/7] Add cros-ec protocol driver and enable it in smdk5250

Hung-ying Tyan tyanh at chromium.org
Tue Apr 2 12:01:47 CEST 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 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: 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 +
 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, 4449 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.1.3



More information about the U-Boot mailing list