]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 11 May 2021 21:20:50 +0000 (09:20 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jun 2021 10:01:38 +0000 (12:01 +0200)
commita7c3c17867b396b40a2076bc9f6b9dd12670600c
treedda540d85a2280cfa12f655e10f8fd413e7a326e
parent590f718a6473055d9468323802298b5bbddf382c
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers

[ Upstream commit 7adc7b225cddcfd0f346d10144fd7a3d3d9f9ea7 ]

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>
arch/powerpc/boot/dts/fsl/p2041si-post.dtsi