layerscape: 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:04 +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/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts
target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts

index 3896f39e5a48d2edcb951d0872fa8f9bb73e6bae..81044aab3acd6944fcbebeadaaabb177e460ea88 100644 (file)
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
index cfbc0d03738f85248fdbfd03dcddef4b21804387..936875101f96783eeee471fcc5537eba46024ae7 100644 (file)
@@ -95,7 +95,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;