[U-Boot] [PATCH 1/1] sunxi: board: Add i2c initialization for sun50i

Maxime Ripard maxime.ripard at bootlin.com
Tue Jan 8 10:17:15 UTC 2019


On Tue, Jan 08, 2019 at 12:04:30PM +0200, Stefan Mavrodiev wrote:
> To use TWI0/1/2 the user can select CONFIG_I2C#_ENABLE.
> However even the controller is enabled, the mux for the pins
> are not set.
> 
> This patch follows the existing mux method. Since the pads are
> different, separate check is added for each i2c.
> 
> Tested with A64-SOM204 board.
> 
> Signed-off-by: Stefan Mavrodiev <stefan at olimex.com>


Acked-by: Maxime Ripard <maxime.ripard at bootlin.com>

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190108/e07f5119/attachment.sig>


More information about the U-Boot mailing list