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 6d260dc61a826299e1a5b89d812280be6a3690de..b4dc915f2d1d8767a7d5d9c1b17124f54ac4dfe2 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index d6678c7aeafd813683def0b8a0c55cbcb2226303..1760b1968f844c5d204f78a40baa532739532f70 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 929c447c705f8e2b743eb087f5c8319f55c5ad05..91c358d245641b8c48efb3634eddf62428da9ee6 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 8966a6db424bb52b8dd256016d19d601d6354b81..b6505dd54120917ca33dcfecfb44519bd68fb506 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 563fb6f883576ac567d5882476bfa77b25942484..5ad6c8758a86fec0d5ce6fc84ba61455891d17e5 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index c31e37b113b1419cb19cab7d0a5a634995981fd3..2c224016b614384b1298db785e5186c21fdeb6d1 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 4d7a044f1451f53e2407a87ec01be1763f64c533..e2a481723b18aa053f0ab60e33bebcf16943e382 100644 (file)
@@ -94,7 +94,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 1080c6fd51c932a5d880789a30735b64ee135fcd..c246308e8c1d59cbf9aae534ac8429d430f32d39 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                pinctrl-0 = <&led_pins>;
index 96f2f24b40751cba4f58997c73f131c4da0444ed..7cd1c7b567d676694f0731ec23d3f8965bac5228 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";
index 256057a755bd1b061b6953320e0384e71efe41c0..3dba13208a1ddb8227d3e942c5d817fa5efcdd10 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&led_pins>;
                pinctrl-names = "default";