[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    powerpc/fsl: set fsl, i2c-erratum-a004447 flag for P1010 i2c controllers
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2021-05-30 4:30:40
Message-ID: git-mailbomb-linux-master-19ae697a1e4edf1d755b413e3aa38da65e2db23b () kernel ! org
[Download RAW message or body]

Commit:     19ae697a1e4edf1d755b413e3aa38da65e2db23b
Parent:     7adc7b225cddcfd0f346d10144fd7a3d3d9f9ea7
Refname:    refs/heads/master
Web:        https://git.kernel.org/torvalds/c/19ae697a1e4edf1d755b413e3aa38da65e2db23b
Author:     Chris Packham <chris.packham@alliedtelesis.co.nz>
AuthorDate: Wed May 12 09:20:51 2021 +1200
Committer:  Wolfram Sang <wsa@kernel.org>
CommitDate: Thu May 27 21:52:16 2021 +0200

    powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
    
    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>
---
 arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
index c2717f31925a2..ccda0a91abf00 100644
--- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
@@ -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 {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic