ipq806x: dts: Unify naming of gpio-led nodes
authorPetr Štetiar <ynezz@true.cz>
Sun, 30 Dec 2018 11:42:53 +0000 (12:42 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 24 Jan 2019 14:53:03 +0000 (15:53 +0100)
In DTS Checklist[1] we're now demanding proper generic node names, as
the name of a node should reflect the function of the device and use
generic name for that[2]. Everybody seems to be copy&pasting from DTS
files available in the repository today, so let's unify that naming
there as well and provide proper examples.

1. https://openwrt.org/submitting-patches#dts_checklist
2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [split up]
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts

index 6d260dc..b4dc915 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index d6678c7..1760b19 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 929c447..91c358d 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 8966a6d..b6505dd 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 563fb6f..5ad6c87 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index c31e37b..2c22401 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 4d7a044..e2a4817 100644 (file)
@@ -94,7 +94,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 1080c6f..c246308 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                pinctrl-0 = <&led_pins>;
index 96f2f24..7cd1c7b 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 256057a..3dba132 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";