Skip to content

Commit

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

The i2c controllers on the P2040/P2041 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 P2040 Chip
Errata Rev Q (latest available at the time of writing).

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 590f718 commit a7c3c17
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/powerpc/boot/dts/fsl/p2041si-post.dtsi
Expand Up @@ -371,7 +371,23 @@
};

/include/ "qoriq-i2c-0.dtsi"
i2c@118000 {
fsl,i2c-erratum-a004447;
};

i2c@118100 {
fsl,i2c-erratum-a004447;
};

/include/ "qoriq-i2c-1.dtsi"
i2c@119000 {
fsl,i2c-erratum-a004447;
};

i2c@119100 {
fsl,i2c-erratum-a004447;
};

/include/ "qoriq-duart-0.dtsi"
/include/ "qoriq-duart-1.dtsi"
/include/ "qoriq-gpio-0.dtsi"
Expand Down

0 comments on commit a7c3c17

Please sign in to comment.