ath79: dts: Unify naming of gpio-keys nodes
authorPetr Štetiar <ynezz@true.cz>
Sun, 30 Dec 2018 11:17:25 +0000 (12:17 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 26 Jan 2019 20:09:12 +0000 (21:09 +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]
13 files changed:
target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts
target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi
target/linux/ath79/dts/ar7241_tplink.dtsi
target/linux/ath79/dts/ar7242_avm_fritz300e.dts
target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts

index fecdf73..df22eb8 100644 (file)
@@ -80,7 +80,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index c8ee985..b1c4d87 100644 (file)
@@ -80,7 +80,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <100>;
 
index 97e2099..a438a3f 100644 (file)
@@ -34,7 +34,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 31053e3..042219b 100644 (file)
@@ -16,7 +16,7 @@
                led-upgrade = &diag;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 02d18f9..e3f0fa6 100644 (file)
@@ -14,7 +14,7 @@
                led-upgrade = &power;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index cf63fe3..b7db74d 100644 (file)
@@ -13,7 +13,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index d646c31..fa6ba71 100644 (file)
@@ -13,7 +13,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index fb6b0ff..3621714 100644 (file)
@@ -17,7 +17,7 @@
                led-upgrade = &power;
        };
 
-       gpio-keys {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 3377850..9a135df 100644 (file)
@@ -27,7 +27,7 @@
                clock-frequency = <40000000>;
        };
 
-       gpio-keys {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 3573665..673a0b3 100644 (file)
@@ -18,7 +18,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index d7b23f9..edbacbc 100644 (file)
@@ -15,7 +15,7 @@
                led-upgrade = &system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 5b8ce9e..b401aad 100644 (file)
@@ -18,7 +18,7 @@
                led-upgrade = &system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 26d969b..1c778f5 100644 (file)
@@ -46,7 +46,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;