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 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hello Maxim,

Am 28.04.2017 um 09:27 schrieb Maxime Ripard:

Quoted 53 lines · Heiko Schocher invitel
Quoted 52 lines

Hello Maxime,

Am 28.04.2017 um 08:44 schrieb Maxime Ripard:

Quoted 48 lines

Hello Heiko,

Quoted 37 lines · Heiko Schocher

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(-)

Quoted 4 lines

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!

There's a (build) dependency of this work with the current effort to bring up HDMI, so I guess it would be easier if we merged it through the sunxi tree if it works for you.

Quoted 5 lines
Quoted 2 lines

Of course. I see this patches in my Patchwork ToDo list. Is it OK to assign them to jagan?

I just applied them and am going through a test build. You can either assign them to me, or mark them as done.

marked them as accepted.

Thanks!

bye,
Heiko

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