Skip to content
Snippets Groups Projects
Commit 1c3ea6cd authored by Vladimir Karpovich's avatar Vladimir Karpovich Committed by Vineeta Srivastava
Browse files

arm/dt: shamu: Add hall effect sensor configuration


Send LID switch event on HE sensor trigger to support
folio case.

Bug: 17886753

Change-Id: Ib84687f0312896ad212860bf830e4bc55f21edc6
Signed-off-by: default avatarVladimir Karpovich <vkarpovich@motorola.com>
parent c64d35ef
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,25 @@
mmi_sar_ctrl {
compatible = "mmi,mmi_sar_ctrl";
};
gpio_keys {
he_north {
label = "he_north";
gpios = <&msmgpio 55 1>;
linux,input-type = <5>;
linux,code = <0>;
gpio-key,wakeup;
debounce-interval = <15>;
};
he_south {
label = "he_south";
gpios = <&msmgpio 56 1>;
linux,input-type = <5>;
linux,code = <0>;
gpio-key,wakeup;
debounce-interval = <15>;
};
};
};
&pma8084_gpios {
......@@ -518,6 +537,7 @@
&sensor_out_hi_default
&sensor_out_low_default
&bcm4356_wake_default
&hall_sensor_default
>;
cycapsense {
......@@ -597,4 +617,15 @@
drive-strength = <2>;
};
};
hall_sensor {
qcom,pins = <&gp 55 &gp 56>;
qcom,num-grp-pins = <2>;
qcom,pin-func = <0>;
label = "hall_sensor";
hall_sensor_default: default {
bias-disable;
drive-strength = <2>;
};
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment