[U-Boot] [PATCH v3 00/12] exynos: enable dm i2c

Przemyslaw Marczak p.marczak at samsung.com
Tue Jan 27 13:36:27 CET 2015


This patchset adds support to driver model i2c api for Exynos i2c driver.
Few boards are using this driver, but the board peripherals are not ported
to the new api yet. So the CONFIG_DM_I2C_COMPAT is enabled.

Switch to dm i2c is currentlly not possible for the few devices like
Trats2, Universal C210, S5P Goni, because ir require soft i2c support.

For Odroid U3, the compatiblility layer is enabled, because it uses only
one pmic driver, which soon is going to be moved to dm i2c with the dm pmic
framework.

The i2c dm compatibility layer is also enabled for Exynos5 boards,
which should be removed after moving the i2c drivers to driver model.

The main change from the previous version is:
- non-required code cleanup after Simon Glass comments
- add new pinmux flag for Exynos
- split commit with s3c i2c status timeout change
- fix build error for u-boot-dm/master

Przemyslaw Marczak (12):
  dm: i2c-uclass-compat: fix missed argument
  arndale: config: disable max77686 support
  exynos5250: config: disable max77686 driver
  smdk5250: config: enable max77686 driver support
  exynos4: dts: add missing i2c properties
  arndale: dts: add missing i2c aliases
  exynos5: pinmux: check flag for i2c config
  i2c: s3c24x0: reduce transmission status timeout
  dm: i2c: s3c24x0: adjust to dm-i2c api
  odroid u3: dts: add missing i2c aliases
  odroid u3: enable dm i2c support
  exynos5: enable dm i2c

 arch/arm/cpu/armv7/exynos/pinmux.c        |  27 +++-
 arch/arm/dts/exynos4.dtsi                 |  24 ++-
 arch/arm/dts/exynos4412-odroid.dts        |   7 +
 arch/arm/dts/exynos5250-arndale.dts       |   8 +
 arch/arm/include/asm/arch-exynos/pinmux.h |   3 +
 board/samsung/odroid/odroid.c             |  14 +-
 drivers/i2c/i2c-uclass-compat.c           |   2 +-
 drivers/i2c/s3c24x0_i2c.c                 | 241 ++++++++++++++++++++++++------
 include/configs/arndale.h                 |   2 -
 include/configs/exynos5-common.h          |   7 +-
 include/configs/exynos5250-common.h       |   3 -
 include/configs/odroid.h                  |   5 +-
 include/configs/smdk5250.h                |   2 +
 13 files changed, 258 insertions(+), 87 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list