Skip to contentSkip to conversation

ARM: dts: stm32: use IRQ_TYPE_EDGE_FALLING on stm32mp157c-dk2

PATCH In review Dario Binacchi 2 participants 2 messages Mar 10, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

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
index 5f9c0160a9c4..324f7bb988d1 100644
@@ -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
maintainer
#1 lore raw

Hi Dario

Quoted 20 lines · Dario Binacchi

Replace the number 2 with the appropriate numerical constant defined in dt-bindings/interrupt-controller/irq.h.

---

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 +0 -0
index 5f9c0160a9c4..324f7bb988d1 100644

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