Commit 65dee07c authored by Shawn Guo's avatar Shawn Guo

ARM: dts: imx: fix gpio interrupts property

Commit 88cde8b7 (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: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 1eec0c56
...@@ -53,7 +53,7 @@ pmic: mc13892@0 { ...@@ -53,7 +53,7 @@ pmic: mc13892@0 {
spi-max-frequency = <6000000>; spi-max-frequency = <6000000>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio1>; interrupt-parent = <&gpio1>;
interrupts = <8>; interrupts = <8 0x4>;
regulators { regulators {
sw1_reg: sw1 { sw1_reg: sw1 {
......
...@@ -64,7 +64,7 @@ lan9220@f4000000 { ...@@ -64,7 +64,7 @@ lan9220@f4000000 {
reg = <0xf4000000 0x2000000>; reg = <0xf4000000 0x2000000>;
phy-mode = "mii"; phy-mode = "mii";
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <31>; interrupts = <31 0x8>;
reg-io-width = <4>; reg-io-width = <4>;
/* /*
* VDD33A and VDDVARIO of LAN9220 are supplied by * VDD33A and VDDVARIO of LAN9220 are supplied by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment