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 ed81cbc9b5..e9be642a86 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 a86e34229e..0314fa2e96 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 ceece0f956..4565652c09 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 9a7c715518..0968cb11a1 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 2809a67693..380136abbb 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 88b60be175..747676404a 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 58e13da7b7..cbb7d5aac6 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 b1f71efcff..092534fdc6 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 bfebad0e65..3981f71453 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 f7ef4cd026..3187bcb90e 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 348f252961..aa16acca90 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 c09962dc08..1f0e7a7aee 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 72c4f0e915..b08a4947ef 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 188c28e8c7..98732e041c 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 b4937de07c..74f56291a3 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