ARM: dts: Fix duovero smsc interrupt for suspend
authorTony Lindgren <tony@atomide.com>
Fri, 12 Jun 2020 17:19:50 +0000 (10:19 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Jun 2020 16:11:06 +0000 (09:11 -0700)
While testing the recent suspend and resume regressions I noticed that
duovero can still end up losing edge gpio interrupts on runtime
suspend. This causes NFSroot easily stopping working after resume on
duovero.

Let's fix the issue by using gpio level interrupts for smsc as then
the gpio interrupt state is seen by the gpio controller on resume.

Fixes: 731b409878a3 ("ARM: dts: Configure duovero for to allow core retention during idle")
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-duovero-parlor.dts

index 8047e8cdb3af0818217b789f7e662d62ccb5bb4e..4548d87534e37c20a6fb337b5874e049d93cce9d 100644 (file)
        ethernet@gpmc {
                reg = <5 0 0xff>;
                interrupt-parent = <&gpio2>;
-               interrupts = <12 IRQ_TYPE_EDGE_FALLING>;        /* gpio_44 */
+               interrupts = <12 IRQ_TYPE_LEVEL_LOW>;           /* gpio_44 */
 
                phy-mode = "mii";