diff options
author | Matti Lehtimäki <[email protected]> | 2023-09-22 04:12:11 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-09-27 16:07:41 -0700 |
commit | 0b73519790d29e4bc71afc4882a9aa9ea649bcf7 (patch) | |
tree | 0ca696e87dbc35a26f8f538f3b4be00addc0f04b | |
parent | 340ed74de508e5d79599b67553ee1e8e8239e0d1 (diff) |
ARM: dts: qcom: apq8026-samsung-matisse-wifi: Fix inverted hall sensor
Fix hall sensor GPIO polarity and also allow disabling the sensor.
Remove unneeded interrupt.
Fixes: f15623bda1dc ("ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)")
Signed-off-by: Matti Lehtimäki <[email protected]>
Reviewed-by: Luca Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts index 884d99297d4c..f516e0426bb9 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts @@ -45,11 +45,11 @@ event-hall-sensor { label = "Hall Effect Sensor"; - gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; - interrupts = <&tlmm 110 IRQ_TYPE_EDGE_FALLING>; + gpios = <&tlmm 110 GPIO_ACTIVE_LOW>; linux,input-type = <EV_SW>; linux,code = <SW_LID>; debounce-interval = <15>; + linux,can-disable; wakeup-source; }; }; |