[U-Boot] [PATCH 0/4] sunxi: i2c: Add DM I2C support for A64/H3/H5

Jernej Skrabec jernej.skrabec at siol.net
Wed Apr 26 22:03:33 UTC 2017


This series implements DM I2C support, but allows old I2C to be selected
when needed.

Patch 1 makes sure that sy8106a driver is compiled only during SPL build.

Patch 2 moves i2c_init_board() function to more convenient place for
follow up patch. It doens't do any functional change.

Patch 3 introduces DM I2C support for sun6i-a31 compatible I2C
controllers.

Patch 4 enables DM I2C only for A64/H3/H5. Other platforms would easily
support DM I2C too, but their PMIC drivers needs to be ported to DM in
order not to lose any existing functionality.

Best regards,
Jernej Skrabec


Jernej Skrabec (4):
  sunxi: power: Compile sy8106a driver only during SPL build
  sunxi: Move function for later convenience
  sunxi: i2c: Add support for DM I2C
  sunxi: Enable DM_I2C for A64/H3/H5

 arch/arm/mach-sunxi/board.c    |   2 +
 board/sunxi/Kconfig            |   2 +
 board/sunxi/board.c            | 196 +++++++++++++++++++++--------------------
 drivers/i2c/mvtwsi.c           |   9 ++
 drivers/power/sy8106a.c        |   2 +
 include/configs/sunxi-common.h |   4 +-
 6 files changed, 120 insertions(+), 95 deletions(-)

-- 
2.12.2



More information about the U-Boot mailing list