Skip to content

Commit

Permalink
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
Browse files Browse the repository at this point in the history
[ Upstream commit 19ae697 ]

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>
  • Loading branch information
cpackham-atlnz authored and gregkh committed Jun 16, 2021
1 parent a808954 commit 4d5773d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
Expand Up @@ -122,7 +122,15 @@
};

/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 {
Expand Down

0 comments on commit 4d5773d

Please sign in to comment.