From: Lucas Stach Date: Mon, 25 Jan 2021 18:47:30 +0000 (+0100) Subject: ARM: dts: imx6: RDU2: only trigger IRQ on falling edge ucs1002 ALERT pin X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=07aa5cf3af823ab2e7ce90cf147845363a35675c;p=linux.git 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi index ba26e1b8c474c..dcc97a84c88d9 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"; };