ipq40xx: 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]
15 files changed:
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts

index e9be642a86c56a1c063d4017a568651db9aaa18c..288b38879f7fda9a0dece35fe3377e09b0fae780 100644 (file)
@@ -97,7 +97,7 @@
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                red {
index 0314fa2e963e00f463d958042b1d4504303a9f44..68598ea8df680f530c9e6f06aed8e20eb31868fa 100644 (file)
@@ -70,7 +70,7 @@
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power: orange {
index 4565652c09a3b06d8a8009d17f1b50ca57ae14b9..636e42e8b1014f1764daec22f55b919fe6df5478 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power_amber: power_amber {
index 0968cb11a18984c7be42009609564a9ca623d13d..0f6cd689cfcae6dd64e4662e2bf841bbab32066e 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power: status {
index 380136abbb5749b30d91cca10c497eb4bbcabaeb..81612bc50b3c384bc3af225c0b9924b363bd9c18 100644 (file)
@@ -80,7 +80,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                wps {
index 747676404a1b7866db391e1a7b125c9203bfc815..487b081c44e0c419e041d5040296e72cf728207e 100644 (file)
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                red {
index cbb7d5aac66e0af80c141d2d4c44d7ad5f768a26..661bbfd36828eaf8582f1a3a377a918fa908c873 100644 (file)
                led-upgrade = &status;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                status: rss4 {
index 092534fdc60eea9accdb4248e7414183229db8c8..81a290ec9e32d8308cdd1763818860b4321e830d 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power: power {
index 3981f7145314d80268466eab88b5f1748ed2d2f6..33c44a8097616e3d0d4131f20c063896d7de3127 100644 (file)
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                red {
index 3187bcb90e9709baeeb2488f6e23d2a676cf0fb9..32fded4c0e3422262bd0814e6bca983f2887c367 100644 (file)
@@ -74,7 +74,7 @@
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power: orange {
index aa16acca908063646eb0d1659ece4c9ab9caa886..ca514e294074627d3f800e9f33c491df2c14f7fa 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power_amber: power_amber {
index 1f0e7a7aeea0d96942fdd5a849128d5b17a3664d..5932638da0d6708addff4337baa7bac99121cd79 100644 (file)
@@ -84,7 +84,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                wps {
index b08a4947efb2ec79b175008eedd8c694abf546b9..d5597ba184767c50451018ae8c92fbb30222c669 100644 (file)
                led-upgrade = &power;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                red {
index 98732e041c6a60025025a4b2f05a2d2468381295..cf8540c10176ef29470dd833df3c12b5cb26a3f5 100644 (file)
                led-upgrade = &status;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                status: rss4 {
index 74f56291a307489841a609ebb52067a6899a0ff0..b32eb29f8ca4222bb3d21b9646ab7c89ce64f11e 100644 (file)
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                power: power {