Skip to contentSkip to conversation

ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers

PATCH Applied Mark Walton 2 participants 2 messages Dec 14, 2018 – Jan 17, 2019

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

PATCH 1/1 ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers

Allows the GPIO controller to be used as an interrupt parent.

of_irq_find_parent() skips interrupt controller nodes that do not have the #interrupt-cells property.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 1 +
 arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +1 -0
index 69f6b9d2e7e7..9549f867aa1e 100644
@@ -197,6 +197,7 @@
 				gpio-ranges = <&pinctrl 0 0 220>;
 				clocks = <&syscon ASPEED_CLK_APB>;
 				interrupt-controller;
+				#interrupt-cells = <2>;
 			};
 
 			timer: timer at 1e782000 {
arch/arm/boot/dts/aspeed-g5.dtsi +1 -0
index d107459fc0f8..a1999f3fe330 100644
@@ -250,6 +250,7 @@
 				gpio-ranges = <&pinctrl 0 0 220>;
 				clocks = <&syscon ASPEED_CLK_APB>;
 				interrupt-controller;
+				#interrupt-cells = <2>;
 			};
 
 			timer: timer at 1e782000 {
Signature · 1 line
2.20.0
maintainer Applied
#1 lore raw
Quoted 7 lines · Mark Walton

Allows the GPIO controller to be used as an interrupt parent.

of_irq_find_parent() skips interrupt controller nodes that do not have the #interrupt-cells property.

Thanks, applied to the aspeed tree for 5.1.

Cheers,

Joel