OMAP3: PM: DSS PM_WKEN to refill DMA

This change “OMAP3: PM: DSS PM_WKEN to refill DMA” (commit b92c572) in Linux kernel is authored by Subramani Venkatesh <subramani.venkatesh [at] windriver.com> on Tue Dec 22 15:07:50 2009 +0530.

Description of "OMAP3: PM: DSS PM_WKEN to refill DMA"

The change “OMAP3: PM: DSS PM_WKEN to refill DMA” introduces changes as follows.

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>

Linux kernel releases containing commit b92c572

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "OMAP3: PM: DSS PM_WKEN to refill DMA"

There are 4 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm/mach-omap2/pm34xx.c | 4 ++++
 1 file changed, 4 insertions(+)
 
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 |

The commit for this change in Linux stable tree is b92c572 (patch).

Last modified: 2020/02/10