ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Tue, 21 Sep 2021 13:34:49 +0000 (15:34 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 15 Oct 2021 14:51:09 +0000 (16:51 +0200)
STUSB1600 IRQ (Alert pin) is active low (open drain). Interrupts may get
lost currently, so fix the IRQ type.

Fixes: 83686162c0eb ("ARM: dts: stm32: add STUSB1600 Type-C using I2C4 on stm32mp15xx-dkx")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi

index 899bfe04aeb910d1705f4fed0bfcf8d4f542b83f..48beed0f1f30a7c6e2e68c9585fe0af4595eeac2 100644 (file)
        stusb1600@28 {
                compatible = "st,stusb1600";
                reg = <0x28>;
-               interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
+               interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                interrupt-parent = <&gpioi>;
                pinctrl-names = "default";
                pinctrl-0 = <&stusb1600_pins_a>;