[PATCH v2 4/4] arm64: dts: mediatek: mt8192: fix i2c node names

Fabien Parent fparent at baylibre.com
Thu May 20 04:21:05 PDT 2021


Fix the i2c node names to be compliant to the YAML schema. The
I2C node name should match the following pattern: "^i2c@[0-9a-f]+$".

Signed-off-by: Fabien Parent <fparent at baylibre.com>
---

v2: New patch

 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 9757138a8bbd..684e8e32af16 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -436,7 +436,7 @@ nor_flash: spi at 11234000 {
 			status = "disable";
 		};
 
-		i2c3: i2c3 at 11cb0000 {
+		i2c3: i2c at 11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,
 			      <0 0x10217300 0 0x80>;
@@ -449,7 +449,7 @@ i2c3: i2c3 at 11cb0000 {
 			status = "disabled";
 		};
 
-		i2c7: i2c7 at 11d00000 {
+		i2c7: i2c at 11d00000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d00000 0 0x1000>,
 			      <0 0x10217600 0 0x180>;
@@ -462,7 +462,7 @@ i2c7: i2c7 at 11d00000 {
 			status = "disabled";
 		};
 
-		i2c8: i2c8 at 11d01000 {
+		i2c8: i2c at 11d01000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d01000 0 0x1000>,
 			      <0 0x10217780 0 0x180>;
@@ -475,7 +475,7 @@ i2c8: i2c8 at 11d01000 {
 			status = "disabled";
 		};
 
-		i2c9: i2c9 at 11d02000 {
+		i2c9: i2c at 11d02000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d02000 0 0x1000>,
 			      <0 0x10217900 0 0x180>;
@@ -488,7 +488,7 @@ i2c9: i2c9 at 11d02000 {
 			status = "disabled";
 		};
 
-		i2c1: i2c1 at 11d20000 {
+		i2c1: i2c at 11d20000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d20000 0 0x1000>,
 			      <0 0x10217100 0 0x80>;
@@ -501,7 +501,7 @@ i2c1: i2c1 at 11d20000 {
 			status = "disabled";
 		};
 
-		i2c2: i2c2 at 11d21000 {
+		i2c2: i2c at 11d21000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d21000 0 0x1000>,
 			      <0 0x10217180 0 0x180>;
@@ -514,7 +514,7 @@ i2c2: i2c2 at 11d21000 {
 			status = "disabled";
 		};
 
-		i2c4: i2c4 at 11d22000 {
+		i2c4: i2c at 11d22000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11d22000 0 0x1000>,
 			      <0 0x10217380 0 0x180>;
@@ -527,7 +527,7 @@ i2c4: i2c4 at 11d22000 {
 			status = "disabled";
 		};
 
-		i2c5: i2c5 at 11e00000 {
+		i2c5: i2c at 11e00000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11e00000 0 0x1000>,
 			      <0 0x10217500 0 0x80>;
@@ -540,7 +540,7 @@ i2c5: i2c5 at 11e00000 {
 			status = "disabled";
 		};
 
-		i2c0: i2c0 at 11f00000 {
+		i2c0: i2c at 11f00000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11f00000 0 0x1000>,
 			      <0 0x10217080 0 0x80>;
@@ -553,7 +553,7 @@ i2c0: i2c0 at 11f00000 {
 			status = "disabled";
 		};
 
-		i2c6: i2c6 at 11f01000 {
+		i2c6: i2c at 11f01000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11f01000 0 0x1000>,
 			      <0 0x10217580 0 0x80>;
-- 
2.31.1




More information about the Linux-mediatek mailing list