ARM: tegra: transformer-t30: bind Hall sensor

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
Svyatoslav Ryhel
2024-01-31 10:08:06 +02:00
parent 6df3d1e0fc
commit 1c559d6fc5
2 changed files with 20 additions and 0 deletions

View File

@@ -1122,6 +1122,16 @@
clock-output-names = "pmic-oscillator"; clock-output-names = "pmic-oscillator";
}; };
extcon-keys {
compatible = "gpio-keys";
switch-dock-hall-sensor {
label = "Lid sensor";
gpios = <&gpio TEGRA_GPIO(BB, 6) GPIO_ACTIVE_LOW>;
linux,code = <SW_LID>;
};
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";

View File

@@ -1150,6 +1150,16 @@
clock-output-names = "pmic-oscillator"; clock-output-names = "pmic-oscillator";
}; };
extcon-keys {
compatible = "gpio-keys";
switch-dock-hall-sensor {
label = "Lid sensor";
gpios = <&gpio TEGRA_GPIO(S, 6) GPIO_ACTIVE_LOW>;
linux,code = <SW_LID>;
};
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";