Commit 1aaa08e8 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Bjorn Andersson

arm64: dts: qcom: sc8180x-primus: Fix HALL_INT polarity

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: 2ce38cc1 ("arm64: dts: qcom: sc8180x: Introduce Primus")
Signed-off-by: default avatarBjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231130-sc8180x-primus-lid-polarity-v1-1-da917b59604b@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 663affdb
......@@ -43,7 +43,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment