]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: x240: Use i2c-gpio instead of built in controller
authorChris Packham <judge.packham@gmail.com>
Tue, 25 Jul 2023 23:13:09 +0000 (11:13 +1200)
committerStefan Roese <sr@denx.de>
Mon, 31 Jul 2023 11:50:57 +0000 (13:50 +0200)
commit5c1c6b7306f2b4c0fd50c7cb5d757e245b93606e
tree6c5b5f5f7c8ac3151117d19d0c002f78c4399a82
parent414236b887a2270d714edf3654eaa0def6315ec6
arm: mvebu: x240: Use i2c-gpio instead of built in controller

There is an Errata with the built-in I2C controller where various I2C
hardware errors cause a complete lockup of the CPU (which eventually
results in an watchdog reset).

Put the I2C MPP pins into GPIO mode and use the i2c-gpio driver instead.
This uses a bit-banged implementation of an I2C controller and avoids
triggering the Errata.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/ac5-98dx35xx-atl-x240.dts
configs/x240_defconfig