summaryrefslogtreecommitdiffstats
path: root/patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch')
-rw-r--r--patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch b/patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch
new file mode 100644
index 0000000..b596c16
--- /dev/null
+++ b/patches/linux-3.12/0706-ARM-dts-AM33xx-Correct-gpio-interrupt-cells-property.patch
@@ -0,0 +1,57 @@
+From: Lars Poeschel <poeschel@lemonage.de>
+Date: Wed, 7 Aug 2013 13:06:32 +0200
+Subject: [PATCH] ARM: dts: AM33xx: Correct gpio #interrupt-cells property
+
+Following commit ff5c9059 and therefore other omap platforms using
+the gpio-omap driver correct the #interrupt-cells property on am33xx
+too. The omap gpio binding documentaion also states that
+the #interrupt-cells property should be 2.
+
+Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
+Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
+Acked-by: Mark Rutland <mark.rutland@arm.com>
+Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
+---
+ arch/arm/boot/dts/am33xx.dtsi | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
+index db0ff10..1d3a6db 100644
+--- a/arch/arm/boot/dts/am33xx.dtsi
++++ b/arch/arm/boot/dts/am33xx.dtsi
+@@ -111,7 +111,7 @@
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+- #interrupt-cells = <1>;
++ #interrupt-cells = <2>;
+ reg = <0x44e07000 0x1000>;
+ interrupts = <96>;
+ };
+@@ -122,7 +122,7 @@
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+- #interrupt-cells = <1>;
++ #interrupt-cells = <2>;
+ reg = <0x4804c000 0x1000>;
+ interrupts = <98>;
+ };
+@@ -133,7 +133,7 @@
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+- #interrupt-cells = <1>;
++ #interrupt-cells = <2>;
+ reg = <0x481ac000 0x1000>;
+ interrupts = <32>;
+ };
+@@ -144,7 +144,7 @@
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+- #interrupt-cells = <1>;
++ #interrupt-cells = <2>;
+ reg = <0x481ae000 0x1000>;
+ interrupts = <62>;
+ };