mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
arm64: dts: qcom: sc8180x-primus: Fix HALL_INT polarity
[ Upstream commit1aaa08e8de
] The hall sensor interrupt on the Primus is active low, which means that with the current configuration the device attempts to suspend when the LID is open. Fix the polarity of the HALL_INT GPIO to avoid this. Fixes:2ce38cc1e8
("arm64: dts: qcom: sc8180x: Introduce Primus") Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231130-sc8180x-primus-lid-polarity-v1-1-da917b59604b@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c961ca5134
commit
9bdbc3a00a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ gpio-keys {
|
|||
pinctrl-0 = <&hall_int_active_state>;
|
||||
|
||||
lid-switch {
|
||||
gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 121 GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_LID>;
|
||||
wakeup-source;
|
||||
|
|
Loading…
Reference in a new issue