[PATCH 2/7] ARM: dts: helios4: use a level interrupt for the GPIO expander
Rosen Penev
rosenp at gmail.com
Wed Nov 25 18:38:51 PST 2026
The PCA9655 INT output is open-drain and active low (pulled up by R60
on MPP23). It stays asserted until the input port registers are read,
and stays low as long as any input differs from its last read value.
With a falling-edge trigger, an input that changes while INT is
already asserted produces no new edge. If the handler's read races
with such a change, INT never deasserts and no further interrupts are
delivered from the expander. Use a level-low trigger, as the chip's
INT semantics require.
Fixes: ced8025b569e ("ARM: dts: armada388-helios4")
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
index 965e9972c9d6..b87e3f8fd12d 100644
--- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
@@ -175,7 +175,7 @@ expander0: gpio-expander at 20 {
pinctrl-names = "default";
pinctrl-0 = <&pca0_pins>;
interrupt-parent = <&gpio0>;
- interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
+ interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
--
2.56.1
More information about the linux-arm-kernel
mailing list