| From fb02114012b0b62711fb3d03ac737e9e0d78d6d6 Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Sat, 9 Nov 2013 13:23:57 +0100 |
| Subject: ARM: shmobile: bockw-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 08281424f1ca5680e4a17656f3d9b978103779eb) |
| (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/r8a7778-bockw-reference.dts | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts |
| index 2000cf861243..bb62c7a906f4 100644 |
| --- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts |
| +++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts |
| @@ -46,7 +46,7 @@ |
| |
| phy-mode = "mii"; |
| interrupt-parent = <&irqpin>; |
| - interrupts = <0 IRQ_TYPE_NONE>; /* IRQ0: hwirq 0 on irqpin */ |
| + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; |
| reg-io-width = <4>; |
| vddvario-supply = <&fixedregulator3v3>; |
| vdd33a-supply = <&fixedregulator3v3>; |
| -- |
| 1.8.5.rc3 |
| |