ARM: dts: exynos: adjust node names to DT spec in Exynos4210 boards
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 27 Oct 2020 17:09:37 +0000 (18:09 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 28 Oct 2020 21:46:25 +0000 (22:46 +0100)
The Devicetree specification expects device node names to have a generic
name, representing the class of a device.  Also the convention for node
names is to use hyphens, not underscores.

No functional changes.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201027170947.132725-3-krzk@kernel.org
arch/arm/boot/dts/exynos4210-i9100.dts
arch/arm/boot/dts/exynos4210-origen.dts
arch/arm/boot/dts/exynos4210-smdkv310.dts
arch/arm/boot/dts/exynos4210-trats.dts

index 5370ee4..a0c3bab 100644 (file)
        pinctrl-0 = <&i2c3_bus>;
        pinctrl-names = "default";
 
-       mxt224-touchscreen@4a {
+       touchscreen@4a {
                compatible = "atmel,maxtouch";
                reg = <0x4a>;
 
        pinctrl-0 = <&i2c5_bus>;
        pinctrl-names = "default";
 
-       max8997_pmic@66 {
+       pmic@66 {
                compatible = "maxim,max8997-pmic";
                reg = <0x66>;
 
        pinctrl-0 = <&i2c7_bus>;
        pinctrl-names = "default";
 
-       ak8975@c {
+       magnetometer@c {
                compatible = "asahi-kasei,ak8975";
                reg = <0x0c>;
 
index 7d2cfba..1c53941 100644 (file)
@@ -43,7 +43,7 @@
                enable-active-high;
        };
 
-       gpio_keys {
+       gpio-keys {
                compatible = "gpio-keys";
 
                up {
        pinctrl-0 = <&i2c0_bus>;
        pinctrl-names = "default";
 
-       max8997_pmic@66 {
+       pmic@66 {
                compatible = "maxim,max8997-pmic";
                reg = <0x66>;
                interrupt-parent = <&gpx0>;
index c5609af..d5797a6 100644 (file)
        pinctrl-0 = <&keypad_rows &keypad_cols>;
        status = "okay";
 
-       key_1 {
+       key-1 {
                keypad,row = <0>;
                keypad,column = <3>;
                linux,code = <2>;
        };
 
-       key_2 {
+       key-2 {
                keypad,row = <0>;
                keypad,column = <4>;
                linux,code = <3>;
        };
 
-       key_3 {
+       key-3 {
                keypad,row = <0>;
                keypad,column = <5>;
                linux,code = <4>;
        };
 
-       key_4 {
+       key-4 {
                keypad,row = <0>;
                keypad,column = <6>;
                linux,code = <5>;
        };
 
-       key_5 {
+       key-5 {
                keypad,row = <0>;
                keypad,column = <7>;
                linux,code = <6>;
        };
 
-       key_a {
+       key-a {
                keypad,row = <1>;
                keypad,column = <3>;
                linux,code = <30>;
        };
 
-       key_b {
+       key-b {
                keypad,row = <1>;
                keypad,column = <4>;
                linux,code = <48>;
        };
 
-       key_c {
+       key-c {
                keypad,row = <1>;
                keypad,column = <5>;
                linux,code = <46>;
        };
 
-       key_d {
+       key-d {
                keypad,row = <1>;
                keypad,column = <6>;
                linux,code = <32>;
        };
 
-       key_e {
+       key-e {
                keypad,row = <1>;
                keypad,column = <7>;
                linux,code = <18>;
        cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
-       w25x80@0 {
+       flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "w25x80";
index eb6ca2a..d2406c9 100644 (file)
        pinctrl-names = "default";
        status = "okay";
 
-       mms114-touchscreen@48 {
+       touchscreen@48 {
                compatible = "melfas,mms114";
                reg = <0x48>;
                interrupt-parent = <&gpx0>;
        pinctrl-names = "default";
        status = "okay";
 
-       max8997_pmic@66 {
+       pmic@66 {
                compatible = "maxim,max8997-pmic";
 
                reg = <0x66>;