From 540a7d1eccb66b155701c77ee0168fc29d1533e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sun, 30 Dec 2018 12:42:53 +0100 Subject: [PATCH] ipq40xx: dts: Unify naming of gpio-led nodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Christian Lamparter [split up] --- .../ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts | 2 +- .../ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 2 +- .../files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 2 +- .../ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts | 2 +- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts | 2 +- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 2 +- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts | 2 +- .../ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts | 2 +- .../files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 2 +- .../files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts index e9be642a86c..288b38879f7 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts @@ -97,7 +97,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; red { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts index 0314fa2e963..68598ea8df6 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts @@ -70,7 +70,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; power: orange { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi index 4565652c09a..636e42e8b10 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi @@ -111,7 +111,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; power_amber: power_amber { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts index 0968cb11a18..0f6cd689cfc 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts @@ -134,7 +134,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; power: status { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts index 380136abbb5..81612bc50b3 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts @@ -80,7 +80,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; wps { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts index 747676404a1..487b081c44e 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts @@ -100,7 +100,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; red { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts index cbb7d5aac66..661bbfd3682 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts @@ -104,7 +104,7 @@ led-upgrade = &status; }; - gpio-leds { + leds { compatible = "gpio-leds"; status: rss4 { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts index 092534fdc60..81a290ec9e3 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts @@ -113,7 +113,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; power: power { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts index 3981f714531..33c44a80976 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts @@ -101,7 +101,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; red { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts index 3187bcb90e9..32fded4c0e3 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts @@ -74,7 +74,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; power: orange { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi index aa16acca908..ca514e29407 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi @@ -115,7 +115,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; power_amber: power_amber { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts index 1f0e7a7aeea..5932638da0d 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts @@ -84,7 +84,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; wps { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts index b08a4947efb..d5597ba1847 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts @@ -104,7 +104,7 @@ led-upgrade = &power; }; - gpio-leds { + leds { compatible = "gpio-leds"; red { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts index 98732e041c6..cf8540c1017 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts @@ -108,7 +108,7 @@ led-upgrade = &status; }; - gpio-leds { + leds { compatible = "gpio-leds"; status: rss4 { diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts index 74f56291a30..b32eb29f8ca 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts @@ -117,7 +117,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; power: power { -- 2.30.2