ARM: OMAP4+: PRM: Enable wakeup capability for OMAP5, DRA7
authorNishanth Menon <nm@ti.com>
Mon, 11 Aug 2014 19:58:23 +0000 (14:58 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 8 Sep 2014 15:53:56 +0000 (10:53 -0500)
OMAP5 and DRA7 can now use pinctrl based I/O daisychain wakeup
capability. So, enable the support.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/prm44xx.c

index b6bfa6f..0958d07 100644 (file)
@@ -693,7 +693,7 @@ static struct prm_ll_data omap44xx_prm_ll_data = {
 
 int __init omap44xx_prm_init(void)
 {
-       if (cpu_is_omap44xx())
+       if (cpu_is_omap44xx() || soc_is_omap54xx() || soc_is_dra7xx())
                prm_features |= PRM_HAS_IO_WAKEUP;
 
        return prm_register(&omap44xx_prm_ll_data);