Skip to content

sunxi: Fixes for DM I2C drivers

Samuel Holland u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i2c: sun6i_p2wi: Initialize chips in .child_pre_probedrivers/i2c/sun6i_p2wi.c+2 -11 reply
2/4i2c: sun6i_p2wi: Add support for DM clocks and resetsdrivers/i2c/sun6i_p2wi.c+12 -01 reply
3/4i2c: sun8i_rsb: Initialize chips in .child_pre_probedrivers/i2c/sun8i_rsb.c+2 -11 reply
4/4i2c: sun8i_rsb: Add support for DM clocks and resetsdrivers/i2c/sun8i_rsb.c+12 -02 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchAndre Przywara
1/4A-b
2/4R-b
3/4A-b
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] sunxi: Fixes for DM I2C drivers

A while back, the sunxi-specific P2WI and RSB drivers were converted to support DM_I2C. Now they are used as non-DM drivers in SPL, and DM drivers in U-Boot proper.

However, the DM version of the code did not fully initialize either the controller or the connected chips. So the DM driver would only work if the non-DM version had previously been used in SPL.

With these bug fixes and the pinctrl series, the drivers now work on SoCs like A64 and H6, which have a PMIC but do not set it up in SPL.

Samuel Holland (4):
i2c: sun6i_p2wi: Initialize chips in .child_pre_probe
i2c: sun6i_p2wi: Add support for DM clocks and resets
i2c: sun8i_rsb: Initialize chips in .child_pre_probe
i2c: sun8i_rsb: Add support for DM clocks and resets

 drivers/i2c/sun6i_p2wi.c | 15 ++++++++++++++-
 drivers/i2c/sun8i_rsb.c  | 15 ++++++++++++++-
 2 files changed, 28 insertions(+), 2 deletions(-)
Signature · 1 line
2.33.1