]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: grouper: bind Hall sensor
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 31 Jan 2024 08:07:51 +0000 (10:07 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 22 Apr 2024 09:17:21 +0000 (12:17 +0300)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/dts/tegra30-asus-grouper-common.dtsi

index e8a3511a9f7f51178a79dfdc971661cc64a19bd4..d437ddc4dce521921bb31393de6f1dc5381f1cfa 100644 (file)
                        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 {