[PATCH 0/4] sunxi: Fixes for DM I2C drivers
Samuel Holland
samuel at sholland.org
Fri Mar 18 05:52:32 CET 2022
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
More information about the U-Boot
mailing list