Skip to contentSkip to conversation

i2c: cdns: Add additional compatible string for r1p14 of the IP.

PATCH New Moritz Fischer 2 participants 3 messages Dec 22, 2016 – Jan 2, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 i2c: cdns: Add additional compatible string for r1p14 of the IP.

Adding additional compatible string for version 1.4 of the IP block.

Cc Michal Simek <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 drivers/i2c/i2c-cdns.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-cdns.c +1 -0
index f49f60b..ef85a70 100644
@@ -366,6 +366,7 @@ static const struct dm_i2c_ops cdns_i2c_ops = {
 
 static const struct udevice_id cdns_i2c_of_match[] = {
 	{ .compatible = "cdns,i2c-r1p10" },
+	{ .compatible = "cdns,i2c-r1p14" },
 	{ /* end of table */ }
 };
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 ARM64: zynqmp: Fix i2c node's compatible string

The Zynq Ultrascale MP uses version 1.4 of the Cadence IP core which fixes some silicon bugs that needed software workarounds in Version 1.0 that was used on Zynq systems.

Cc Michal Simek <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 arch/arm/dts/zynqmp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/zynqmp.dtsi +2 -2
index ab5c243..20c5efc 100644
@@ -619,7 +619,7 @@
 		};
 
 		i2c0: i2c at ff020000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 17 4>;
@@ -630,7 +630,7 @@
 		};
 
 		i2c1: i2c at ff030000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 18 4>;
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 ARM64: zynqmp: Fix i2c node's compatible string

Quoted 26 lines · Moritz Fischer

The Zynq Ultrascale MP uses version 1.4 of the Cadence IP core which fixes some silicon bugs that needed software workarounds in Version 1.0 that was used on Zynq systems.

Cc Michal Simek <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 arch/arm/dts/zynqmp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/zynqmp.dtsi +1 -1
index ab5c243..20c5efc 100644
@@ -619,7 +619,7 @@
 		};
 
 		i2c0: i2c at ff020000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 17 4>;

arch/arm/dts/zynqmp.dtsi line 636

Quoted 8 lines
arch/arm/dts/zynqmp.dtsi +1 -1
@@ -630,7 +630,7 @@
 		};
 
 		i2c1: i2c at ff030000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 18 4>;

Applied both.

Thanks,
Michal