public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/4] sunxi: Fixes for DM I2C drivers
@ 2022-03-18  4:52 Samuel Holland
  2022-03-18  4:52 ` [PATCH 1/4] i2c: sun6i_p2wi: Initialize chips in .child_pre_probe Samuel Holland
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Samuel Holland @ 2022-03-18  4:52 UTC (permalink / raw)
  To: Heiko Schocher, u-boot, Jagan Teki, Andre Przywara; +Cc: Samuel Holland

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

-- 
2.33.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-05 23:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18  4:52 [PATCH 0/4] sunxi: Fixes for DM I2C drivers Samuel Holland
2022-03-18  4:52 ` [PATCH 1/4] i2c: sun6i_p2wi: Initialize chips in .child_pre_probe Samuel Holland
2022-04-04 14:25   ` Andre Przywara
2022-03-18  4:52 ` [PATCH 2/4] i2c: sun6i_p2wi: Add support for DM clocks and resets Samuel Holland
2022-04-04 14:24   ` Andre Przywara
2022-03-18  4:52 ` [PATCH 3/4] i2c: sun8i_rsb: Initialize chips in .child_pre_probe Samuel Holland
2022-04-04 17:30   ` Andre Przywara
2022-03-18  4:52 ` [PATCH 4/4] i2c: sun8i_rsb: Add support for DM clocks and resets Samuel Holland
2022-04-04 17:30   ` Andre Przywara
2022-04-05  2:16     ` Samuel Holland
2022-04-05 22:57 ` [PATCH 0/4] sunxi: Fixes for DM I2C drivers Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox