ARM: tegra: transformer-t30: bind Hall sensor
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
@@ -1122,6 +1122,16 @@
|
||||
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 {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
|
@@ -1150,6 +1150,16 @@
|
||||
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 {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
|
Reference in New Issue
Block a user