Skip to content

Commit

Permalink
arm64: dts: exynos: Rename hsi2c nodes to i2c for Exynos5433 and Exynos7
Browse files Browse the repository at this point in the history
In Device Tree specification it's recommended to use "i2c" name for I2C
nodes. Now that i2c-exynos5 dt-schema binding was added, it shows some
warnings like this when validating HS-I2C nodes:

    hsi2c@xxxxxxxxx: $nodename:0: 'hsi2c@xxxxxxxx' does not match
                                  '^i2c(@.*)?'
    From schema: Documentation/devicetree/bindings/i2c/i2c-exynos5.yaml

Rename hsi2c@* to i2c@* to fix those warnings.

Signed-off-by: Sam Protsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
  • Loading branch information
Sam Protsenko authored and krzk committed Dec 6, 2021
1 parent fa55b7d commit 8858f86
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions arch/arm64/boot/dts/exynos/exynos5433.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@
status = "disabled";
};

hsi2c_0: hsi2c@14e40000 {
hsi2c_0: i2c@14e40000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e40000 0x1000>;
interrupts = <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1598,7 +1598,7 @@
status = "disabled";
};

hsi2c_1: hsi2c@14e50000 {
hsi2c_1: i2c@14e50000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e50000 0x1000>;
interrupts = <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1611,7 +1611,7 @@
status = "disabled";
};

hsi2c_2: hsi2c@14e60000 {
hsi2c_2: i2c@14e60000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e60000 0x1000>;
interrupts = <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1624,7 +1624,7 @@
status = "disabled";
};

hsi2c_3: hsi2c@14e70000 {
hsi2c_3: i2c@14e70000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e70000 0x1000>;
interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1637,7 +1637,7 @@
status = "disabled";
};

hsi2c_4: hsi2c@14ec0000 {
hsi2c_4: i2c@14ec0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14ec0000 0x1000>;
interrupts = <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1650,7 +1650,7 @@
status = "disabled";
};

hsi2c_5: hsi2c@14ed0000 {
hsi2c_5: i2c@14ed0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14ed0000 0x1000>;
interrupts = <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1663,7 +1663,7 @@
status = "disabled";
};

hsi2c_6: hsi2c@14ee0000 {
hsi2c_6: i2c@14ee0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14ee0000 0x1000>;
interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1676,7 +1676,7 @@
status = "disabled";
};

hsi2c_7: hsi2c@14ef0000 {
hsi2c_7: i2c@14ef0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14ef0000 0x1000>;
interrupts = <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1689,7 +1689,7 @@
status = "disabled";
};

hsi2c_8: hsi2c@14d90000 {
hsi2c_8: i2c@14d90000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14d90000 0x1000>;
interrupts = <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1702,7 +1702,7 @@
status = "disabled";
};

hsi2c_9: hsi2c@14da0000 {
hsi2c_9: i2c@14da0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14da0000 0x1000>;
interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1715,7 +1715,7 @@
status = "disabled";
};

hsi2c_10: hsi2c@14de0000 {
hsi2c_10: i2c@14de0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14de0000 0x1000>;
interrupts = <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -1728,7 +1728,7 @@
status = "disabled";
};

hsi2c_11: hsi2c@14df0000 {
hsi2c_11: i2c@14df0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14df0000 0x1000>;
interrupts = <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
24 changes: 12 additions & 12 deletions arch/arm64/boot/dts/exynos/exynos7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
interrupts = <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>;
};

hsi2c_0: hsi2c@13640000 {
hsi2c_0: i2c@13640000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13640000 0x1000>;
interrupts = <GIC_SPI 441 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -372,7 +372,7 @@
status = "disabled";
};

hsi2c_1: hsi2c@13650000 {
hsi2c_1: i2c@13650000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13650000 0x1000>;
interrupts = <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -385,7 +385,7 @@
status = "disabled";
};

hsi2c_2: hsi2c@14e60000 {
hsi2c_2: i2c@14e60000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e60000 0x1000>;
interrupts = <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -398,7 +398,7 @@
status = "disabled";
};

hsi2c_3: hsi2c@14e70000 {
hsi2c_3: i2c@14e70000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e70000 0x1000>;
interrupts = <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -411,7 +411,7 @@
status = "disabled";
};

hsi2c_4: hsi2c@13660000 {
hsi2c_4: i2c@13660000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13660000 0x1000>;
interrupts = <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -424,7 +424,7 @@
status = "disabled";
};

hsi2c_5: hsi2c@13670000 {
hsi2c_5: i2c@13670000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13670000 0x1000>;
interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -437,7 +437,7 @@
status = "disabled";
};

hsi2c_6: hsi2c@14e00000 {
hsi2c_6: i2c@14e00000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e00000 0x1000>;
interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -450,7 +450,7 @@
status = "disabled";
};

hsi2c_7: hsi2c@13e10000 {
hsi2c_7: i2c@13e10000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13e10000 0x1000>;
interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -463,7 +463,7 @@
status = "disabled";
};

hsi2c_8: hsi2c@14e20000 {
hsi2c_8: i2c@14e20000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x14e20000 0x1000>;
interrupts = <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -476,7 +476,7 @@
status = "disabled";
};

hsi2c_9: hsi2c@13680000 {
hsi2c_9: i2c@13680000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13680000 0x1000>;
interrupts = <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -489,7 +489,7 @@
status = "disabled";
};

hsi2c_10: hsi2c@13690000 {
hsi2c_10: i2c@13690000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x13690000 0x1000>;
interrupts = <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -502,7 +502,7 @@
status = "disabled";
};

hsi2c_11: hsi2c@136a0000 {
hsi2c_11: i2c@136a0000 {
compatible = "samsung,exynos7-hsi2c";
reg = <0x136a0000 0x1000>;
interrupts = <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>;
Expand Down

0 comments on commit 8858f86

Please sign in to comment.