Skip to contentSkip to conversation

arm64: dts: allwinner: h616: Fix I2C0 pins

PATCH In review Andre Przywara 2 participants 3 messages Mar 29, 2024 – Apr 15, 2024

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

PATCH 1/1 arm64: dts: allwinner: h616: Fix I2C0 pins

Currently we specify the pins for the I2C0 function as PI6 and PI7, even though they are actually PI5 and PI6. Linux' pinctrl driver and the H616 user manual confirm this.

Fix the pin names in the pins property. None of the existing DTs in the tree seems to use I2C0, which explains why this went unnoticed.

Fixes 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")
---
 arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +1 -1
index f756a396ea3da..95f09204337f0 100644
@@ -227,7 +227,7 @@ ext_rgmii_pins: rgmii-pins {
 			};
 
 			i2c0_pins: i2c0-pins {
-				pins = "PI6", "PI7";
+				pins = "PI5", "PI6";
 				function = "i2c0";
 			};
 
Signature · 1 line
2.35.8
maintainer Acked-by on v1 1/1
#1 lore raw

Dne petek, 29. marec 2024 ob 11:38:25 CEST je Andre Przywara napisal(a):

Quoted 9 lines

Currently we specify the pins for the I2C0 function as PI6 and PI7, even though they are actually PI5 and PI6. Linux' pinctrl driver and the H616 user manual confirm this.

Fix the pin names in the pins property. None of the existing DTs in the tree seems to use I2C0, which explains why this went unnoticed.

Fixes 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")

Best regards,
Jernej

Quoted 18 lines
---
 arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +1 -1
index f756a396ea3da..95f09204337f0 100644
@@ -227,7 +227,7 @@ ext_rgmii_pins: rgmii-pins {
 			};
 
 			i2c0_pins: i2c0-pins {
-				pins = "PI6", "PI7";
+				pins = "PI5", "PI6";
 				function = "i2c0";
 			};
 
maintainer
#2 lore raw
In reply to Andre Przywara

Dne petek, 29. marec 2024 ob 11:38:25 GMT +2 je Andre Przywara napisal(a):

Quoted 9 lines

Currently we specify the pins for the I2C0 function as PI6 and PI7, even though they are actually PI5 and PI6. Linux' pinctrl driver and the H616 user manual confirm this.

Fix the pin names in the pins property. None of the existing DTs in the tree seems to use I2C0, which explains why this went unnoticed.

Fixes 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")

Queued for 6.10 as it doesn't affect any current DT.

Best regards,
Jernej

Quoted 18 lines
---
 arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +1 -1
index f756a396ea3da..95f09204337f0 100644
@@ -227,7 +227,7 @@ ext_rgmii_pins: rgmii-pins {
 			};
 
 			i2c0_pins: i2c0-pins {
-				pins = "PI6", "PI7";
+				pins = "PI5", "PI6";
 				function = "i2c0";
 			};