Skip to content

sunxi: i2c: Add DM I2C support for A64/H3/H5

Heiko Schocher u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sunxi: power: Compile sy8106a driver only during SPL build+0 -00 replies
2/4sunxi: Move function for later convenience+0 -00 replies
3/4sunxi: i2c: Add support for DM I2C+0 -00 replies
4/4sunxi: Enable DM_I2C for A64/H3/H5+0 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchHeiko Schocher
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Hello Jagan,

Am 27.04.2017 um 00:03 schrieb Jernej Skrabec:

Quoted 25 lines

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

Quoted 8 lines
  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(-)

Do you want to pick up this patchset?

Or should I push it through u-boot-i2c?
If so, please add your Ack or Review tag, thanks!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany