]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 11 May 2021 21:20:51 +0000 (09:20 +1200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 15 Jul 2021 17:27:17 +0000 (19:27 +0200)
BugLink: https://bugs.launchpad.net/bugs/1933369
[ Upstream commit 19ae697a1e4edf1d755b413e3aa38da65e2db23b ]

The i2c controllers on the P1010 have an erratum where the documented
scheme for i2c bus recovery will not work (A-004447). A different
mechanism is needed which is documented in the P1010 Chip Errata Rev L.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi

index 1b4aafc1f6a27bbaaa4bf3c8ceeffa71e76cc8db..9716a0484ecf05849ff6c3e3434db2fe5fff6702 100644 (file)
        };
 
 /include/ "pq3-i2c-0.dtsi"
+       i2c@3000 {
+               fsl,i2c-erratum-a004447;
+       };
+
 /include/ "pq3-i2c-1.dtsi"
+       i2c@3100 {
+               fsl,i2c-erratum-a004447;
+       };
+
 /include/ "pq3-duart-0.dtsi"
 /include/ "pq3-espi-0.dtsi"
        spi0: spi@7000 {