at91: 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>
Thu, 24 Jan 2019 14:53:02 +0000 (15:53 +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]
target/linux/at91/files/arch/arm/boot/dts/wb45n.dts
target/linux/at91/files/arch/arm/boot/dts/wb50n.dts

index 2d1fe0c0830a3740db33e2c935a9d04de5d0915b..1f51893ce3977c6e64789a276af3c2c961c9ae20 100644 (file)
                atheros,board-id = "SD32";
        };
 
-       gpio_keys {
+       keys {
                compatible = "gpio-keys";
                #address-cells = <1>;
                #size-cells = <0>;
index 4101baf64a36f3a99bf71bb89e8abd26049a3343..febd76b87415bdd45449df82e83bfd25a2c8fefa 100644 (file)
@@ -73,7 +73,7 @@
                };
        };
 
-       gpio_keys {
+       keys {
                compatible = "gpio-keys";
                #address-cells = <1>;
                #size-cells = <0>;