summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubramani Venkatesh <subramani.venkatesh@windriver.com>2009-12-22 12:37:50 +0300
committerKevin Hilman <khilman@deeprootsystems.com>2010-01-21 05:16:09 +0300
commitb92c5721d28507738d294e9a582eb6232ec6abad (patch)
tree459bbe59b1e61f6eee9c7971901a4d7bfdeced88
parentd92cfcbe39fdb2328a28b5505f31cb8be40fc339 (diff)
downloadlinux-b92c5721d28507738d294e9a582eb6232ec6abad.tar.xz
OMAP3: PM: DSS PM_WKEN to refill DMA
Currently, DSS does not wakeup when there is a DMA request. DSS wake up event must be enabled so that the DMA request to refill the FIFO will wake up the CORE domain. Signed-off-by: Subramani Venkatesh <subramani.venkatesh@windriver.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
-rw-r--r--arch/arm/mach-omap2/pm34xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 31762ca9f117..910a7acf542d 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -890,6 +890,10 @@ static void __init prcm_setup_regs(void)
prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN,
OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET);
+ /* Enable PM_WKEN to support DSS LPR */
+ prm_write_mod_reg(OMAP3430_PM_WKEN_DSS_EN_DSS,
+ OMAP3430_DSS_MOD, PM_WKEN);
+
/* Enable wakeups in PER */
prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 |
OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 |