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

Andre Przywara andre.przywara at arm.com
Wed Apr 6 00:57:50 CEST 2022


On Thu, 17 Mar 2022 23:52:32 -0500
Samuel Holland <samuel at sholland.org> wrote:

> 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.
> 

All merged into sunxi/master, which already landed in mainline.

Thanks!
Andre
> 
> 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(-)
> 



More information about the U-Boot mailing list