From 608ad4b6932f72995144bc72a31b1e0843a5bb28 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Tue, 11 Feb 2014 02:07:41 +0000 Subject: mvebu: backport mainline patches from kernel 3.12 This is a backport of the patches accepted to the Linux mainline related to mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12. This work mainly covers: * Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c) between the PXA family,and the Armada family. * Further updates to the mvebu MBus. * Work and ground work for enabling MSI on the Armada family. * some phy / mdio bus initialization related work. * Device tree binding documentation update. Signed-off-by: Seif Mazareeb CC: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39565 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...se-correct-interrupt-cells-instead-of-int.patch | 127 +++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 target/linux/mvebu/patches-3.10/0068-ARM-mvebu-use-correct-interrupt-cells-instead-of-int.patch (limited to 'target/linux/mvebu/patches-3.10/0068-ARM-mvebu-use-correct-interrupt-cells-instead-of-int.patch') diff --git a/target/linux/mvebu/patches-3.10/0068-ARM-mvebu-use-correct-interrupt-cells-instead-of-int.patch b/target/linux/mvebu/patches-3.10/0068-ARM-mvebu-use-correct-interrupt-cells-instead-of-int.patch new file mode 100644 index 0000000000..efd444159e --- /dev/null +++ b/target/linux/mvebu/patches-3.10/0068-ARM-mvebu-use-correct-interrupt-cells-instead-of-int.patch @@ -0,0 +1,127 @@ +From d967b31469239f610ea84b0a54ce296c15d860e9 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Tue, 30 Jul 2013 16:59:02 +0200 +Subject: [PATCH 068/203] ARM: mvebu: use correct #interrupt-cells instead of + #interrupts-cells + +The Device Tree information for the GPIO banks of the Armada 370 and +Armada XP SOCs was incorrectly using #interrupts-cells instead of +controller when using GPIO interrupts, since the GPIO bank DT node +wasn't recognized as a valid interrupt controller by the OF code. + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Jason Cooper +--- + arch/arm/boot/dts/armada-370.dtsi | 6 +++--- + arch/arm/boot/dts/armada-xp-mv78230.dtsi | 4 ++-- + arch/arm/boot/dts/armada-xp-mv78260.dtsi | 6 +++--- + arch/arm/boot/dts/armada-xp-mv78460.dtsi | 6 +++--- + 4 files changed, 11 insertions(+), 11 deletions(-) + +--- a/arch/arm/boot/dts/armada-370.dtsi ++++ b/arch/arm/boot/dts/armada-370.dtsi +@@ -136,7 +136,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <82>, <83>, <84>, <85>; + }; + +@@ -147,7 +147,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <87>, <88>, <89>, <90>; + }; + +@@ -158,7 +158,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <91>; + }; + +--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi ++++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi +@@ -181,7 +181,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <82>, <83>, <84>, <85>; + }; + +@@ -192,7 +192,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <87>, <88>, <89>; + }; + +--- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi ++++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi +@@ -203,7 +203,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <82>, <83>, <84>, <85>; + }; + +@@ -214,7 +214,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <87>, <88>, <89>, <90>; + }; + +@@ -225,7 +225,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <91>; + }; + +--- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi ++++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi +@@ -301,7 +301,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <82>, <83>, <84>, <85>; + }; + +@@ -312,7 +312,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <87>, <88>, <89>, <90>; + }; + +@@ -323,7 +323,7 @@ + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; +- #interrupts-cells = <2>; ++ #interrupt-cells = <2>; + interrupts = <91>; + }; + -- cgit v1.2.3