Skip to contentSkip to conversation

Dove: activate GPIO interrupts in DT

PATCH New Jean-Francois Moine 2 participants 2 messages Jan 23, 2013 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Dove: activate GPIO interrupts in DT

In a DT, the interrupts of an interrupt-controller are not usable when #interrupt-cells is missing.

This patch activates the interrupts of the GPIOs 0 and 1 for the Marvell Dove SoC.

---
v2
- gpio-mvebu asks for 2 cells

---
 arch/arm/boot/dts/dove.dtsi |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/dove.dtsi +2 -0
index 42eac1f..740630f 100644
@@ -93,6 +93,7 @@
 			reg = <0xd0400 0x20>;
 			ngpios = <32>;
 			interrupt-controller;
+			#interrupt-cells = <2>;
 			interrupts = <12>, <13>, <14>, <60>;
 		};
 
@@ -103,6 +104,7 @@
 			reg = <0xd0420 0x20>;
 			ngpios = <32>;
 			interrupt-controller;
+			#interrupt-cells = <2>;
 			interrupts = <61>;
 		};
 
Signature · 2 lines
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
Applied
#1 lore raw

PATCH v2 1/1 Dove: activate GPIO interrupts in DT

Quoted 6 lines · Jean-Francois Moine

In a DT, the interrupts of an interrupt-controller are not usable when #interrupt-cells is missing.

This patch activates the interrupts of the GPIOs 0 and 1 for the Marvell Dove SoC.

Quoted 7 lines

---
v2
- gpio-mvebu asks for 2 cells

---
 arch/arm/boot/dts/dove.dtsi |    2 ++
 1 file changed, 2 insertions(+)

Applied to mvebu/fixes

thx,

Jason.