arm64: 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>
This commit is contained in:
Krzysztof Kozlowski 2022-06-15 17:53:12 -07:00 committed by Thierry Reding
parent 61192a9d8a
commit 012877d0a7
10 changed files with 26 additions and 26 deletions

View File

@ -1030,7 +1030,7 @@ clk32k_in: clock-32k {
gpio-keys {
compatible = "gpio-keys";
lid {
switch-lid {
label = "Lid";
gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
linux,input-type = <5>;
@ -1039,7 +1039,7 @@ lid {
wakeup-source;
};
power {
key-power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;

View File

@ -2478,7 +2478,7 @@ sata@3507000 {
gpio-keys {
compatible = "gpio-keys";
power {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 0)
GPIO_ACTIVE_LOW>;
@ -2489,7 +2489,7 @@ power {
wakeup-source;
};
volume-up {
key-volume-up {
label = "Volume Up";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 1)
GPIO_ACTIVE_LOW>;
@ -2498,7 +2498,7 @@ volume-up {
debounce-interval = <10>;
};
volume-down {
key-volume-down {
label = "Volume Down";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 2)
GPIO_ACTIVE_LOW>;

View File

@ -360,7 +360,7 @@ fan: pwm-fan {
gpio-keys {
compatible = "gpio-keys";
power {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 0)
GPIO_ACTIVE_LOW>;
@ -371,7 +371,7 @@ power {
wakeup-source;
};
volume-up {
key-volume-up {
label = "Volume Up";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 1)
GPIO_ACTIVE_LOW>;
@ -380,7 +380,7 @@ volume-up {
debounce-interval = <10>;
};
volume-down {
key-volume-down {
label = "Volume Down";
gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 2)
GPIO_ACTIVE_LOW>;

View File

@ -2258,7 +2258,7 @@ fan: pwm-fan {
gpio-keys {
compatible = "gpio-keys";
force-recovery {
key-force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
GPIO_ACTIVE_LOW>;
@ -2267,7 +2267,7 @@ force-recovery {
debounce-interval = <10>;
};
power {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4)
GPIO_ACTIVE_LOW>;

View File

@ -2262,7 +2262,7 @@ fan: pwm-fan {
gpio-keys {
compatible = "gpio-keys";
force-recovery {
key-force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
GPIO_ACTIVE_LOW>;
@ -2271,7 +2271,7 @@ force-recovery {
debounce-interval = <10>;
};
power {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4)
GPIO_ACTIVE_LOW>;

View File

@ -1530,20 +1530,20 @@ gpio-keys {
compatible = "gpio-keys";
label = "gpio-keys";
power {
key-power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
wakeup-source;
};
volume_down {
key-volume-down {
label = "Volume Down";
gpios = <&gpio TEGRA_GPIO(Y, 0) GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
volume_up {
key-volume-up {
label = "Volume Up";
gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;

View File

@ -1596,7 +1596,7 @@ gpio-keys {
compatible = "gpio-keys";
status = "okay";
power {
key-power {
debounce-interval = <30>;
gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
label = "Power";

View File

@ -1802,7 +1802,7 @@ cpu-passive {
gpio-keys {
compatible = "gpio-keys";
power {
key-power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
@ -1812,7 +1812,7 @@ power {
wakeup-source;
};
force-recovery {
key-force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;

View File

@ -1756,7 +1756,7 @@ cpu-sleep {
gpio-keys {
compatible = "gpio-keys";
power {
key-power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
@ -1764,7 +1764,7 @@ power {
wakeup-source;
};
lid {
switch-lid {
label = "Lid";
gpios = <&gpio TEGRA_GPIO(B, 4) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>;
@ -1772,7 +1772,7 @@ lid {
wakeup-source;
};
tablet_mode {
switch-tablet-mode {
label = "Tablet Mode";
gpios = <&gpio TEGRA_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
linux,input-type = <EV_SW>;
@ -1780,13 +1780,13 @@ tablet_mode {
wakeup-source;
};
volume_down {
key-volume-down {
label = "Volume Down";
gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
volume_up {
key-volume-up {
label = "Volume Up";
gpios = <&gpio TEGRA_GPIO(M, 4) GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;

View File

@ -2021,14 +2021,14 @@ gpio-keys {
compatible = "gpio-keys";
status = "okay";
force-recovery {
key-force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
linux,code = <BTN_1>;
};
power-key {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
@ -2037,7 +2037,7 @@ power-key {
wakeup-source;
};
suspend {
key-suspend {
label = "Suspend";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;