aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-11-26 08:18:50 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-01-20 21:16:06 -0500
commite3d9329640e4b291cdd2c6d178774c28bba47d59 (patch)
treeb231571bc4cab11556c32d8b6fa5517f81b361d7 /arch/arm/mach-omap2
parentae559d8769531ab8895d241107a10fbe320b3b7f (diff)
OMAP3: PM: Enable wake-up from McBSP2, 3 and 4 modules
Wake-up from McBSP ports are needed, especially when the THRESHOLD dma mode is in use for audio playback. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index d6cab338cad1..96075bf5e086 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -884,12 +884,16 @@ static void __init prcm_setup_regs(void)
884 /* Enable wakeups in PER */ 884 /* Enable wakeups in PER */
885 prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 | 885 prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 |
886 OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 | 886 OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 |
887 OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3, 887 OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3 |
888 OMAP3430_EN_MCBSP2 | OMAP3430_EN_MCBSP3 |
889 OMAP3430_EN_MCBSP4,
888 OMAP3430_PER_MOD, PM_WKEN); 890 OMAP3430_PER_MOD, PM_WKEN);
889 /* and allow them to wake up MPU */ 891 /* and allow them to wake up MPU */
890 prm_write_mod_reg(OMAP3430_GRPSEL_GPIO2 | OMAP3430_EN_GPIO3 | 892 prm_write_mod_reg(OMAP3430_GRPSEL_GPIO2 | OMAP3430_EN_GPIO3 |
891 OMAP3430_GRPSEL_GPIO4 | OMAP3430_EN_GPIO5 | 893 OMAP3430_GRPSEL_GPIO4 | OMAP3430_EN_GPIO5 |
892 OMAP3430_GRPSEL_GPIO6 | OMAP3430_EN_UART3, 894 OMAP3430_GRPSEL_GPIO6 | OMAP3430_EN_UART3 |
895 OMAP3430_EN_MCBSP2 | OMAP3430_EN_MCBSP3 |
896 OMAP3430_EN_MCBSP4,
893 OMAP3430_PER_MOD, OMAP3430_PM_MPUGRPSEL); 897 OMAP3430_PER_MOD, OMAP3430_PM_MPUGRPSEL);
894 898
895 /* Don't attach IVA interrupts */ 899 /* Don't attach IVA interrupts */