[U-Boot] [PATCH 0/2] i2c: sunxi: Support every i2c controller on each supported platform

Hans de Goede hdegoede at redhat.com
Sat Apr 4 14:16:55 CEST 2015


Hi,

On 04-04-15 13:27, Paul Kocialkowski wrote:
> This series adds support for every i2c controller found on
> sun4i/sun5i/sun6i/sun7i/sun8i platforms and shouldn't break support for Marvell
> platforms (orion5x, kirkwood, armada xp) the driver was originally written for.
>
> Regarding sunxi, I double-checked that this doesn't conflict with
> VIDEO_LCD_PANEL_I2C.
>
> I would be interested in having this tested on sun8i (A23), since I changed TWI0
> muxing (to PH2-PH3 instead of PB0-PB1), according to the user manual and what
> is being done on the upstream Linux kernel. I2C was either not working before,
> or it was being muxed correctly by the bootrom, probably to communicate with the
> AXP, which luckily made it work in U-Boot too, since the I/O base address was
> already correct.

We do not use i2c0 on A23, the pmic is hooked up to the RSB bus there which shares
its pins with the r_i2c controller (the i2c controller in the prcm unit).

> My use case here is that I'm writing a slave-side bitbang i2c implementation
> (with an Arduino) for a school project, using a Cubieboard2 as master and
> U-Boot as POC. However, only TWI1 was available through the expansion pins,
> hence the need for this series.
>

Regards,

Hans


More information about the U-Boot mailing list