Commit 0b735197 authored by Matti Lehtimäki's avatar Matti Lehtimäki Committed by Bjorn Andersson
Browse files

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: f15623bd ("ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)")
Signed-off-by: default avatarMatti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230922011211.115234-1-matti.lehtimaki@gmail.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 340ed74d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,11 +45,11 @@ gpio-hall-sensor {

		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;
		};
	};