summary refs log tree commit diff
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2021-01-25 19:47:30 +0100
committerShawn Guo <shawnguo@kernel.org>2021-01-30 21:52:28 +0800
commit07aa5cf3af823ab2e7ce90cf147845363a35675c (patch)
tree355b590fafdf93ea41cefb9a6f2317e3e5d3b836
parent20fffe76b6241d691a92f8d2fc0092da707dde67 (diff)
downloadlinux-07aa5cf3af823ab2e7ce90cf147845363a35675c.tar.gz
ARM: dts: imx6: RDU2: only trigger IRQ on falling edge ucs1002 ALERT pin
The ALERT signaling happens on the falling edge of the signal, as rising
edge doesn't really have any notion, as it may happen much later (due to
shared IRQ line) or too early if the chip resolves the fault itself. So
only trigger the IRQ on the edge we are actually interested in.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index ba26e1b8c474..dcc97a84c88d 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -628,7 +628,7 @@
 		pinctrl-0 = <&pinctrl_ucs1002_pins>;
 		reg = <0x32>;
 		interrupts-extended = <&gpio5 2 IRQ_TYPE_EDGE_BOTH>,
-				      <&gpio3 21 IRQ_TYPE_EDGE_BOTH>;
+		                      <&gpio3 21 IRQ_TYPE_EDGE_FALLING>;
 		interrupt-names = "a_det", "alert";
 	};