From: Lucas Stach Date: Mon, 25 Jan 2021 18:47:35 +0000 (+0100) Subject: arm64: dts: zii-ultra: only trigger IRQ on falling edge ucs1002 ALERT pin X-Git-Tag: v5.15~1797^2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53e7e0c65bfb68aee4fba83eb3b6ec74f0869ae;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: zii-ultra: 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/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi index edbde9e..4dc8383 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi @@ -304,7 +304,7 @@ reg = <0x32>; interrupt-parent = <&gpio3>; interrupts = <17 IRQ_TYPE_EDGE_BOTH>, - <18 IRQ_TYPE_EDGE_BOTH>; + <18 IRQ_TYPE_EDGE_FALLING>; interrupt-names = "a_det", "alert"; };