sunxi: Fixes for DM I2C drivers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | i2c: sun6i_p2wi: Initialize chips in .child_pre_probedrivers/ | +2 | 1 reply | |
| 2/4 | i2c: sun6i_p2wi: Add support for DM clocks and resetsdrivers/ | +12 | 1 reply | |
| 3/4 | i2c: sun8i_rsb: Initialize chips in .child_pre_probedrivers/ | +2 | 1 reply | |
| 4/4 | i2c: sun8i_rsb: Add support for DM clocks and resetsdrivers/ | +12 | 2 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Andre Przywara |
|---|---|
| 1/4 | A-b |
| 2/4 | R-b |
| 3/4 | A-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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