ARM: PRM: AM437x: Enable IO wakeup feature
authorKeerthy <j-keerthy@ti.com>
Thu, 16 Jul 2015 11:53:19 +0000 (17:23 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 23 Jul 2015 12:13:52 +0000 (06:13 -0600)
Enable IO wakeup feature. This enables am437x pads to generate daisy
chained wake ups(eventually generates aprcm Interrupt) especially
when in low power modes.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/prm_common.c

index 7add7994dbfcf01496eec5182500833ab26cdd5f..1730fc494221196fb68861bb4563d734efd710a7 100644 (file)
@@ -696,6 +696,7 @@ static struct omap_prcm_init_data am4_prm_data __initdata = {
        .index = TI_CLKM_PRM,
        .init = omap44xx_prm_init,
        .device_inst_offset = AM43XX_PRM_DEVICE_INST,
+       .flags = PRM_HAS_IO_WAKEUP,
 };
 #endif