• Tony Lindgren's avatar
    ARM: dts: Use level interrupt for omap4 & 5 wlcore · 087a2b7e
    Tony Lindgren authored
    Commit 572cf7d7 ("ARM: dts: Improve omap l4per idling with wlcore edge
    sensitive interrupt") changed wlcore interrupts to use edge interrupt based
    on what's specified in the wl1835mod.pdf data sheet.
    
    However, there are still cases where we can have lost interrupts as
    described in omap_gpio_unidle(). And using a level interrupt instead of edge
    interrupt helps as we avoid the check for untriggered GPIO interrupts in
    omap_gpio_unidle().
    
    And with commit e6818d29 ("gpio: gpio-omap: configure edge detection
    for level IRQs for idle wakeup") GPIOs idle just fine with level interrupts.
    
    Let's change omap4 and 5 wlcore users back to using level interrupt
    instead of edge interrupt. Let's not change the others as I've only seen
    this on omap4 and 5, probably because the other SoCs don't have l4per idle
    independent of the CPUs.
    
    Fixes: 572cf7d7 ("ARM: dts: Improve omap l4per idling with wlcore edge sensitive interrupt")
    Depends-on: e6818d29 ("gpio: gpio-omap: configure edge detection for level IRQs for idle wakeup")
    Cc: Anders Roxell <anders.roxell@linaro.org>
    Cc: Eyal Reizer <eyalr@ti.com>
    Cc: Guy Mishol <guym@ti.com>
    Cc: John Stultz <john.stultz@linaro.org>
    Cc: Ulf Hansson <ulf.hansson@linaro.org>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    087a2b7e
omap4-droid4-xt894.dts 18.7 KB