[U-Boot] [PATCH 00/14] DM conversion of omap i2c driver

Mugunthan V N mugunthanvnm at ti.com
Mon Jul 18 11:40:55 CEST 2016


This patch series adopts driver model for usb ether gadget
driver. This series is tested with follwoing commands on am335x,
am437x, dra74x, dra72x and am57xx evms. Pushed a branch [1] for
refference.

=> i2c dev 0
=> i2c probe
=> i2c md <valid device> 0

With this patch series, I observe a warning as below. The i2c
compat driver is needed as pmic drivers are not converted to i2c
dt/dm frame work yet. Once the client drivers are adopted to
dm-i2c, we can get rid of this warning.

#
# configuration written to .config
#
===================== WARNING ======================
This board uses CONFIG_DM_I2C_COMPAT. Please remove
(possibly in a subsequent patch in your series)
before sending patches to the mailing list.
====================================================

[1] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-i2c

Mugunthan V N (14):
  omap4: i2c: correct register offset for sync register
  omap5/dra7: i2c: correct register offset for sync register
  drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL
    is enable
  ti_armv7_common: i2c: do not define DM_I2C for spl
  drivers: i2c: omap24xx_i2c: prepare driver for DM conversion
  drivers: i2c: omap24xx_i2c: adopt omap_i2c driver to driver model
  defconfig: am335x_boneblack_vboot: enable i2c driver model
  defconfig: am335x_evm: enable i2c driver model
  defconfig: am43xx_evm: enable i2c driver model
  defconfig: am43xx_hs_evm: enable i2c driver model
  defconfig: dra7xx_evm: enable i2c driver model
  defconfig: dra7xx_hs_evm: enable i2c driver model
  defconfig: am57xx_evm: enable i2c driver model
  defconfig: am57xx_hs_evm: enable i2c driver model

 arch/arm/include/asm/arch-omap4/i2c.h    |   6 +-
 arch/arm/include/asm/arch-omap5/i2c.h    |   6 +-
 configs/am335x_boneblack_vboot_defconfig |   1 +
 configs/am335x_evm_defconfig             |   1 +
 configs/am43xx_evm_defconfig             |   1 +
 configs/am43xx_hs_evm_defconfig          |   1 +
 configs/am57xx_evm_defconfig             |   1 +
 configs/am57xx_hs_evm_defconfig          |   1 +
 configs/dra7xx_evm_defconfig             |   1 +
 configs/dra7xx_hs_evm_defconfig          |   1 +
 drivers/i2c/i2c-uclass.c                 |  14 ++
 drivers/i2c/omap24xx_i2c.c               | 407 +++++++++++++++++++++----------
 include/configs/ti_armv7_common.h        |  16 ++
 13 files changed, 318 insertions(+), 139 deletions(-)

-- 
2.9.1.200.gb1ec08f



More information about the U-Boot mailing list