ARM: dts: stm32: use IRQ_TYPE_EDGE_FALLING on stm32mp157c-dk2
Subsystems (2)
PATCH v2 1/1 ARM: dts: stm32: use IRQ_TYPE_EDGE_FALLING on stm32mp157c-dk2
Replace the number 2 with the appropriate numerical constant defined in dt-bindings/interrupt-controller/irq.h.
Signed-off-by Dario Binacchi <[email protected]>
Reviewed-by Antonio Borneo <[email protected]>
---
Changes in v2:
- Drop inclusion of dt-bindings/interrupt-controller/irq.h header
- Add Reviewed-by tag of Antonio Borneo
arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/st/stm32mp157c-dk2.dts +1 -1
@@ -67,7 +67,7 @@ &i2c1 { touchscreen@38 { compatible = "focaltech,ft6236"; reg = <0x38>; - interrupts = <2 2>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; interrupt-parent = <&gpiof>; touchscreen-size-x = <480>; touchscreen-size-y = <800>;
Signature · 1 line
2.43.0
Alexandre TORGUE
maintainerHi Dario
Quoted 20 lines · Dario Binacchi
Replace the number 2 with the appropriate numerical constant defined in
dt-bindings/interrupt-controller/irq.h.Signed-off-by Dario Binacchi <[email protected]>Reviewed-by Antonio Borneo <[email protected]>---
Changes in v2:
- Drop inclusion ofdt-bindings/interrupt-controller/irq.hheader
- Add Reviewed-by tag of Antonio Borneoarch/arm/boot/dts/st/stm32mp157c-dk2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/st/stm32mp157c-dk2.dts +0
-0
arch/arm/boot/dts/st/stm32mp157c-dk2.dts &i2c1 { · line 73
Quoted 8 lines
arch/arm/boot/dts/st/stm32mp157c-dk2.dts +1
-1@@ -67,7 +67,7 @@ &i2c1 { touchscreen@38 { compatible = "focaltech,ft6236"; reg = <0x38>; - interrupts = <2 2>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; interrupt-parent = <&gpiof>; touchscreen-size-x = <480>; touchscreen-size-y = <800>;
Applied on stm32-next.
Thanks
Alex