ARM: dts: exynos: adjust node names to DT spec in Exynos4412 boards
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 27 Oct 2020 17:09:39 +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-5-krzk@kernel.org
arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi
arch/arm/boot/dts/exynos4412-itop-elite.dts
arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi
arch/arm/boot/dts/exynos4412-midas.dtsi
arch/arm/boot/dts/exynos4412-n710x.dts
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-odroidx.dts
arch/arm/boot/dts/exynos4412-origen.dts
arch/arm/boot/dts/exynos4412-smdk4412.dts

index 89ed81f..912c78e 100644 (file)
@@ -15,7 +15,7 @@
                i2c10 = &i2c_cm36651;
        };
 
-       aat1290 {
+       led-controller {
                compatible = "skyworks,aat1290";
                flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
                enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
@@ -60,7 +60,7 @@
                #size-cells = <0>;
                status = "okay";
 
-               ak8975@c {
+               magnetometer@c {
                        compatible = "asahi-kasei,ak8975";
                        reg = <0x0c>;
                        gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>;
@@ -75,7 +75,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cm36651@18 {
+               light-sensor@18 {
                        compatible = "capella,cm36651";
                        reg = <0x18>;
                        interrupt-parent = <&gpx0>;
 };
 
 &i2c_3 {
-       mms114-touchscreen@48 {
+       touchscreen@48 {
                compatible = "melfas,mms114";
                reg = <0x48>;
                interrupt-parent = <&gpm2>;
index f6d0a5f..4743130 100644 (file)
        pinctrl-names = "default";
        status = "okay";
 
-       codec: wm8960@1a {
+       codec: audio-codec@1a {
                compatible = "wlf,wm8960";
                reg = <0x1a>;
                clocks = <&pmu_system_controller 0>;
index dfceb15..4583d34 100644 (file)
        pinctrl-names = "default";
        status = "okay";
 
-       s5m8767: s5m8767-pmic@66 {
+       s5m8767: pmic@66 {
                compatible = "samsung,s5m8767-pmic";
                reg = <0x66>;
 
index 96287c6..1721705 100644 (file)
                #size-cells = <0>;
                status = "okay";
 
-               max77693@66 {
+               pmic@66 {
                        compatible = "maxim,max77693";
                        interrupt-parent = <&gpx1>;
                        interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
                #size-cells = <0>;
                status = "okay";
 
-               max77693-fuel-gauge@36 {
+               fuel-gauge@36 {
                        compatible = "maxim,max17047";
                        interrupt-parent = <&gpx2>;
                        interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
        pinctrl-names = "default";
        status = "okay";
 
-       s5c73m3: s5c73m3@3c {
+       s5c73m3: image-sensor@3c {
                compatible = "samsung,s5c73m3";
                reg = <0x3c>;
                xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
        pinctrl-0 = <&fimc_is_i2c1>;
        pinctrl-names = "default";
 
-       s5k6a3@10 {
+       image-sensor@10 {
                compatible = "samsung,s5k6a3";
                reg = <0x10>;
                svdda-supply = <&cam_io_reg>;
        pinctrl-names = "default";
        status = "okay";
 
-       wm1811: wm1811@1a {
+       wm1811: audio-codec@1a {
                compatible = "wlf,wm1811";
                reg = <0x1a>;
                clocks = <&pmu_system_controller 0>,
        pinctrl-names = "default";
        status = "okay";
 
-       max77686: max77686_pmic@9 {
+       max77686: pmic@9 {
                compatible = "maxim,max77686";
                interrupt-parent = <&gpx0>;
                interrupts = <7 IRQ_TYPE_NONE>;
        cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
-       s5c73m3_spi: s5c73m3@0 {
+       s5c73m3_spi: image-sensor@0 {
                compatible = "samsung,s5c73m3";
                spi-max-frequency = <50000000>;
                reg = <0>;
index a47b7f3..c49dbb7 100644 (file)
@@ -45,7 +45,7 @@
        pinctrl-names = "default";
        status = "okay";
 
-       mms152-touchscreen@48 {
+       touchscreen@48 {
                compatible = "melfas,mms152";
                reg = <0x48>;
                interrupt-parent = <&gpm2>;
index 4c77cd4..1ca9d8b 100644 (file)
@@ -27,7 +27,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&gpio_power_key>;
 
-               power_key {
+               power-key {
                        gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        label = "power key";
 };
 
 &pinctrl_1 {
-       gpio_power_key: power_key {
+       gpio_power_key: power-key {
                samsung,pins = "gpx1-3";
                samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
        };
        samsung,i2c-max-bus-freq = <400000>;
        status = "okay";
 
-       usb3503: usb3503@8 {
+       usb3503: usb-hub@8 {
                compatible = "smsc,usb3503";
                reg = <0x08>;
 
 
 &i2c_1 {
        status = "okay";
-       max98090: max98090@10 {
+       max98090: audio-codec@10 {
                compatible = "maxim,max98090";
                reg = <0x10>;
                interrupt-parent = <&gpx0>;
index 68fe880..46381e9 100644 (file)
@@ -36,7 +36,7 @@
                };
        };
 
-       regulator_p3v3 {
+       regulator-1 {
                compatible = "regulator-fixed";
                regulator-name = "p3v3_en";
                regulator-min-microvolt = <3300000>;
@@ -81,7 +81,7 @@
 };
 
 &pinctrl_1 {
-       gpio_home_key: home_key {
+       gpio_home_key: home-key {
                samsung,pins = "gpx2-2";
                samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
        };
index c2e793b..e1f6de5 100644 (file)
        pinctrl-names = "default";
        status = "okay";
 
-       s5m8767_pmic@66 {
+       pmic@66 {
                compatible = "samsung,s5m8767-pmic";
                reg = <0x66>;
 
        pinctrl-names = "default";
        status = "okay";
 
-       key_home {
+       key-home {
                keypad,row = <0>;
                keypad,column = <0>;
                linux,code = <KEY_HOME>;
        };
 
-       key_down {
+       key-down {
                keypad,row = <0>;
                keypad,column = <1>;
                linux,code = <KEY_DOWN>;
        };
 
-       key_up {
+       key-up {
                keypad,row = <1>;
                keypad,column = <0>;
                linux,code = <KEY_UP>;
        };
 
-       key_menu {
+       key-menu {
                keypad,row = <1>;
                keypad,column = <1>;
                linux,code = <KEY_MENU>;
        };
 
-       key_back {
+       key-back {
                keypad,row = <2>;
                keypad,column = <0>;
                linux,code = <KEY_BACK>;
        };
 
-       key_enter {
+       key-enter {
                keypad,row = <2>;
                keypad,column = <1>;
                linux,code = <KEY_ENTER>;
index 4997120..cc99b95 100644 (file)
        pinctrl-names = "default";
        status = "okay";
 
-       key_1 {
+       key-1 {
                keypad,row = <1>;
                keypad,column = <3>;
                linux,code = <2>;
        };
 
-       key_2 {
+       key-2 {
                keypad,row = <1>;
                keypad,column = <4>;
                linux,code = <3>;
        };
 
-       key_3 {
+       key-3 {
                keypad,row = <1>;
                keypad,column = <5>;
                linux,code = <4>;
        };
 
-       key_4 {
+       key-4 {
                keypad,row = <1>;
                keypad,column = <6>;
                linux,code = <5>;
        };
 
-       key_5 {
+       key-5 {
                keypad,row = <1>;
                keypad,column = <7>;
                linux,code = <6>;
        };
 
-       key_A {
+       key-A {
                keypad,row = <2>;
                keypad,column = <6>;
                linux,code = <30>;
        };
 
-       key_B {
+       key-B {
                keypad,row = <2>;
                keypad,column = <7>;
                linux,code = <48>;
        };
 
-       key_C {
+       key-C {
                keypad,row = <0>;
                keypad,column = <5>;
                linux,code = <46>;
        };
 
-       key_D {
+       key-D {
                keypad,row = <2>;
                keypad,column = <5>;
                linux,code = <32>;
        };
 
-       key_E {
+       key-E {
                keypad,row = <0>;
                keypad,column = <7>;
                linux,code = <18>;