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 fecdf73a8c1459905b995b5e8783cf48052d8754..df22eb8dc4ce681df2d7280f38dd525b6cb49956 100644 (file)
@@ -80,7 +80,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index c8ee985f3c10f8c2ec0d5ee8c99150dd537688e3..b1c4d87bcb9a4aaf94e4f54e0b744032945119bc 100644 (file)
@@ -80,7 +80,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <100>;
 
index 97e2099806d6476ba1acd44a1e710ba66cb197a9..a438a3f913ed298dc9984cac3805c14e97683589 100644 (file)
@@ -34,7 +34,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 31053e39b100ee61a23634ca93432ca9f147f532..042219b2344c10d0cb7d5e63872fd8179b534413 100644 (file)
@@ -16,7 +16,7 @@
                led-upgrade = &diag;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 02d18f9f48ed88b3d4d966d1875d0d40b56788cc..e3f0fa64205e7a2221311cbcff140057f6d9f643 100644 (file)
@@ -14,7 +14,7 @@
                led-upgrade = &power;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index cf63fe316652f432ca23970f145d3fe4e4d710ac..b7db74d937b6a90b8eb7b1fe97c090e0c673e79e 100644 (file)
@@ -13,7 +13,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index d646c312f5baf52acc8c60260dda2004d55d351f..fa6ba71925c444fccd8561e6594ce58a1bbf3435 100644 (file)
@@ -13,7 +13,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index fb6b0ff30eaac920f335b426eea8964061256911..3621714d9d5261503166433ebfc7bb6fb7c21fb5 100644 (file)
@@ -17,7 +17,7 @@
                led-upgrade = &power;
        };
 
-       gpio-keys {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 33778504169592ea714eaa9b7445c749494f1e85..9a135df1a038e4b166856c5ec4125e28727c3f9f 100644 (file)
@@ -27,7 +27,7 @@
                clock-frequency = <40000000>;
        };
 
-       gpio-keys {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 3573665b341f16199db39cfc066976f590ff555c..673a0b35895d26086bc1ef245050780b394d09ca 100644 (file)
@@ -18,7 +18,7 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index d7b23f988031df38da7d03bbef8ca857f6976874..edbacbc767fd43dfa0ea4d9d13a7273379315333 100644 (file)
@@ -15,7 +15,7 @@
                led-upgrade = &system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 5b8ce9eb289f40f65b051fc8f756ddfe02c69b26..b401aadf47a199050ce112907c655ee0a84e5e5f 100644 (file)
@@ -18,7 +18,7 @@
                led-upgrade = &system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
index 26d969b592936bd71367c3615e3e1aeea7d20d06..1c778f57ac9eac4fec29e8d2cdc5caf07a1b3943 100644 (file)
@@ -46,7 +46,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;