From 98c6c8cdfe6633626ae98206d3382004d30187c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sun, 30 Dec 2018 12:17:25 +0100 Subject: [PATCH] ipq40xx: dts: Unify naming of gpio-keys 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 ed81cbc9b5e..e9be642a86c 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 @@ -80,7 +80,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 a86e34229e6..0314fa2e963 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 @@ -53,7 +53,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 ceece0f9568..4565652c09a 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 @@ -76,7 +76,7 @@ led-upgrade = &power_amber; }; - gpio-keys { + keys { compatible = "gpio-keys"; wps { 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 9a7c715518f..0968cb11a18 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 @@ -118,7 +118,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 2809a67693b..380136abbb5 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 @@ -114,7 +114,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; 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 88b60be1752..747676404a1 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 @@ -83,7 +83,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 58e13da7b79..cbb7d5aac66 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 @@ -88,7 +88,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 b1f71efcffd..092534fdc60 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 @@ -97,7 +97,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; wps { 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 bfebad0e65a..3981f714531 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 @@ -84,7 +84,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 f7ef4cd0269..3187bcb90e9 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 @@ -57,7 +57,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 348f2529612..aa16acca908 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 @@ -80,7 +80,7 @@ led-upgrade = &power_amber; }; - gpio-keys { + keys { compatible = "gpio-keys"; wps { 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 c09962dc084..1f0e7a7aeea 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 @@ -118,7 +118,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; 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 72c4f0e9157..b08a4947efb 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 @@ -87,7 +87,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 188c28e8c7a..98732e041c6 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 @@ -92,7 +92,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; reset { 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 b4937de07ce..74f56291a30 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 @@ -101,7 +101,7 @@ }; }; - gpio-keys { + keys { compatible = "gpio-keys"; wps { -- 2.30.2