[U-Boot] [PATCH v4 0/4] dm: i2c: Convert cros_ec_i2c over to driver model

Simon Glass sjg at chromium.org
Tue Jan 27 04:29:36 CET 2015


This series sits on top of Przemyslaw's recent driver model conversion for
Exynos. It changes the cros_ec_i2c driver to use driver model.

Also a new device tree property is added to support offset length, a U-Boot
I2C concept but a feature of the hardware.

Changes in v4:
- Bring in the correct patch version
- Add patches to support offset length in device tree
- Rebase on top of exynos I2C series

Simon Glass (4):
  dm: i2c: dts: Support an offset-len device tree property
  dm: exynos: dts: Set the offset length for cros_ec
  dm: i2c: Add two more I2C init functions to the compatibility layer
  dm: cros_ec: Convert cros_ec_i2c over to driver model

 arch/arm/dts/exynos5250-snow.dts     |  1 +
 doc/device-tree-bindings/i2c/i2c.txt | 28 ++++++++++++
 drivers/i2c/i2c-uclass-compat.c      | 16 +++++--
 drivers/i2c/i2c-uclass.c             |  3 +-
 drivers/misc/cros_ec_i2c.c           | 82 +++++++++++++-----------------------
 include/configs/snow.h               |  1 +
 include/i2c.h                        | 17 +++++++-
 7 files changed, 90 insertions(+), 58 deletions(-)
 create mode 100644 doc/device-tree-bindings/i2c/i2c.txt

-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list