Skip to contentSkip to conversation

ARM: dts: sun9i: Add missing #interrupt-cells to R_PIO pinctrl device node

PATCH New Chen-Yu Tsai 2 participants 2 messages Aug 27, 2016

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

PATCH 1/1 ARM: dts: sun9i: Add missing #interrupt-cells to R_PIO pinctrl device node

The R_PIO device node is missing #interrupt-cells, which causes interrupt parsing to fail to match it as a valid interrupt controller.

Add #interrupt-cells to it. Also remove the unnecesary #address-cells and #size-cells.

Fixes 1ac56a6da9e1 ("ARM: dts: sun9i: Add A80 R_PIO pin controller device
		      node")
---
 arch/arm/boot/dts/sun9i-a80.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/sun9i-a80.dtsi +1 -2
index 24e3cac4f571..3c5214cbe4e6 100644
@@ -898,8 +898,7 @@
 			resets = <&apbs_rst 0>;
 			gpio-controller;
 			interrupt-controller;
-			#address-cells = <1>;
-			#size-cells = <0>;
+			#interrupt-cells = <3>;
 			#gpio-cells = <3>;
 
 			r_ir_pins: r_ir {
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 ARM: dts: sun9i: Add missing #interrupt-cells to R_PIO pinctrl device node

Quoted 9 lines · Chen-Yu Tsai

The R_PIO device node is missing #interrupt-cells, which causes interrupt parsing to fail to match it as a valid interrupt controller.

Add #interrupt-cells to it. Also remove the unnecesary #address-cells and #size-cells.

Fixes 1ac56a6da9e1 ("ARM: dts: sun9i: Add A80 R_PIO pin controller device
		      node")

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160827/bde89170/attachment.sig>