| From 02194e70ff09dfbe577a7c869d72e7375e0c9a66 Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Sat, 9 Nov 2013 13:23:58 +0100 |
| Subject: ARM: shmobile: kzm9g-reference: Use falling edge IRQ for LAN9221 |
| |
| The device is configured to generate an active-low interrupt signal that |
| is automatically deasserted without requiring any action from the host. |
| Configure the IRQ to trigger on falling edge. |
| |
| Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 72e14c051a920d9c30d6cab2aecd1699a070aebe) |
| (Queued by ARM-SoC for v3.14 but not yet in Linus's tree) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |
| index 605f6c627307..12fdfaaf5e7b 100644 |
| --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |
| +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |
| @@ -83,7 +83,7 @@ |
| reg = <0x10000000 0x100>; |
| phy-mode = "mii"; |
| interrupt-parent = <&irqpin0>; |
| - interrupts = <3 IRQ_TYPE_NONE>; /* active low */ |
| + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
| reg-io-width = <4>; |
| smsc,irq-push-pull; |
| smsc,save-mac-address; |
| -- |
| 1.8.5.rc3 |
| |