aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSvyatoslav Ryhel2024-01-31 10:07:51 +0200
committerSvyatoslav Ryhel2024-04-22 12:17:21 +0300
commit6df3d1e0fc708ab3c3664c389273cda76b8e2fc8 (patch)
treec8974b4c5ad81879312bece38d35c10008f4eac3 /arch
parentd1db2733a50176f40943b64efbab3222c981899a (diff)
ARM: tegra: grouper: bind Hall sensor
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/tegra30-asus-grouper-common.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra30-asus-grouper-common.dtsi b/arch/arm/dts/tegra30-asus-grouper-common.dtsi
index e8a3511a9f7..d437ddc4dce 100644
--- a/arch/arm/dts/tegra30-asus-grouper-common.dtsi
+++ b/arch/arm/dts/tegra30-asus-grouper-common.dtsi
@@ -829,6 +829,12 @@
gpios = <&gpio TEGRA_GPIO(Q, 3) GPIO_ACTIVE_LOW>;
linux,code = <KEY_DOWN>;
};
+
+ switch-hall-sensor {
+ label = "Lid";
+ gpios = <&gpio TEGRA_GPIO(S, 6) GPIO_ACTIVE_LOW>;
+ linux,code = <SW_LID>;
+ };
};
panel: panel {