mvebu: fix PXA I2C bus with recovery
authorRobert Marko <robert.marko@sartura.hr>
Fri, 10 Nov 2023 12:42:34 +0000 (13:42 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Nov 2023 13:28:21 +0000 (14:28 +0100)
commitf74f5b29948aa9303bf94045cf938cee49897944
tree2e11f33dc62d4c4c9c645ce90dda46a70e20dcec
parent3d6b89c5140acb9228ec89bde09b53dafdead070
mvebu: fix PXA I2C bus with recovery

Since kernel 5.11, the PXA I2C driver has been converted to generic I2C
recovery, which makes the I2C bus completely lock up if recovery pinctrl
is present in the DT and I2C recovery is enabled.

This effectively completely broke I2C on Methode uDPU and eDPU boards
as both of them rely on I2C recovery.

After a discussion upstream, it was concluded that there is no simple fix
and that the blamed upstream commit:
0b01392c18b9993a584f36ace1d61118772ad0ca ("i2c: pxa: move to generic GPIO
recovery") should be reverted.
I have sent the revert upstream, it should be merged soon so lets "fix"
OpenWrt as well.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/mvebu/patches-5.15/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch [new file with mode: 0644]
target/linux/mvebu/patches-6.1/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch [new file with mode: 0644]