]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ARM: dts: imx: fix gpio interrupts property
authorShawn Guo <shawn.guo@linaro.org>
Thu, 2 Aug 2012 14:08:26 +0000 (22:08 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 3 Aug 2012 14:36:18 +0000 (22:36 +0800)
Commit 88cde8b (ARM: dts: imx: update #interrupt-cells for gpio nodes)
changes gpio #interrupt-cells from 1 to 2 without updating the users.
It causes the gpio irq requesting call failing in client driver's probe
function.

Add the irq type cell for those gpio interrupt users to fix their
driver probe failure.

Reported-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx51-babbage.dts
arch/arm/boot/dts/imx53-ard.dts

index de065b5976e6cf0ed025c7e550198f4b079b817c..cd86177a3ea21aa1dbe3d0dcea633b50661e5552 100644 (file)
@@ -53,7 +53,7 @@
                                                spi-max-frequency = <6000000>;
                                                reg = <0>;
                                                interrupt-parent = <&gpio1>;
-                                               interrupts = <8>;
+                                               interrupts = <8 0x4>;
 
                                                regulators {
                                                        sw1_reg: sw1 {
index fa95f4aa8ce6a07fcf3134e8c1fdf9e6d58acb73..da895e93a999113e0585905126dd980f3029e80b 100644 (file)
@@ -64,7 +64,7 @@
                        reg = <0xf4000000 0x2000000>;
                        phy-mode = "mii";
                        interrupt-parent = <&gpio2>;
-                       interrupts = <31>;
+                       interrupts = <31 0x8>;
                        reg-io-width = <4>;
                        /*
                         * VDD33A and VDDVARIO of LAN9220 are supplied by