mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 17:30:17 +03:00
p3737: 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). This change is based on change from mainline commit 012877d0a7c193c48bfbea9d7eb80663f822387d Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> arm64: tegra: Align gpio-keys node names with dtschema Bug 4037899 Change-Id: I7daf15048d5f96cd9882b256deb03c90dfc12a50 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2873341 Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1937,14 +1937,14 @@
|
||||
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>;
|
||||
@@ -1953,7 +1953,7 @@
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
suspend {
|
||||
key-suspend {
|
||||
label = "Suspend";
|
||||
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_KEY>;
|
||||
|
||||
Reference in New Issue
Block a user