[PATCH v2 7/8] arm: dts: exynos: Rename hsi2c nodes to i2c for Exynos5260
Sam Protsenko
semen.protsenko at linaro.org
Sat Dec 4 13:50:32 PST 2021
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 at xxxxxxxxx: $nodename:0: 'hsi2c at 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 <semen.protsenko at linaro.org>
---
Changes in v2:
- This patch was added in v2
arch/arm/boot/dts/exynos5260.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5260.dtsi b/arch/arm/boot/dts/exynos5260.dtsi
index 52fa211525ce..524d244050e0 100644
--- a/arch/arm/boot/dts/exynos5260.dtsi
+++ b/arch/arm/boot/dts/exynos5260.dtsi
@@ -368,7 +368,7 @@ mmc_2: mmc at 12160000 {
status = "disabled";
};
- hsi2c_0: hsi2c at 12da0000 {
+ hsi2c_0: i2c at 12da0000 {
compatible = "samsung,exynos5260-hsi2c";
reg = <0x12DA0000 0x1000>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
@@ -381,7 +381,7 @@ hsi2c_0: hsi2c at 12da0000 {
status = "disabled";
};
- hsi2c_1: hsi2c at 12db0000 {
+ hsi2c_1: i2c at 12db0000 {
compatible = "samsung,exynos5260-hsi2c";
reg = <0x12DB0000 0x1000>;
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
@@ -394,7 +394,7 @@ hsi2c_1: hsi2c at 12db0000 {
status = "disabled";
};
- hsi2c_2: hsi2c at 12dc0000 {
+ hsi2c_2: i2c at 12dc0000 {
compatible = "samsung,exynos5260-hsi2c";
reg = <0x12DC0000 0x1000>;
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
@@ -407,7 +407,7 @@ hsi2c_2: hsi2c at 12dc0000 {
status = "disabled";
};
- hsi2c_3: hsi2c at 12dd0000 {
+ hsi2c_3: i2c at 12dd0000 {
compatible = "samsung,exynos5260-hsi2c";
reg = <0x12DD0000 0x1000>;
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
--
2.30.2
More information about the linux-arm-kernel
mailing list