diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-15 17:53:13 -0700 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-06-24 18:15:53 +0200 |
commit | 799270e9b8be0846d418ed6c3f61408aef8059a1 (patch) | |
tree | 9216eb487dcf09bed9fa1d677be2560b396ddffb /arch/arm/boot/dts/tegra124-nyan.dtsi | |
parent | 829205d8410ee358bd6a107ee4d72de424fcd1b4 (diff) | |
download | linux-stable-799270e9b8be0846d418ed6c3f61408aef8059a1.tar.gz linux-stable-799270e9b8be0846d418ed6c3f61408aef8059a1.tar.bz2 linux-stable-799270e9b8be0846d418ed6c3f61408aef8059a1.zip |
ARM: tegra: Align gpio-keys node names with dtschema
The node names should be generic and DT schema expects certain pattern
(e.g. with key/button/switch).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-nyan.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra124-nyan.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi index a93cfb492ba1..13061ab5247b 100644 --- a/arch/arm/boot/dts/tegra124-nyan.dtsi +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi @@ -603,7 +603,7 @@ gpio-keys { compatible = "gpio-keys"; - lid { + switch-lid { label = "Lid"; gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; linux,input-type = <5>; @@ -612,7 +612,7 @@ wakeup-source; }; - power { + key-power { label = "Power"; gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; |