diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-05 19:34:25 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-05 12:10:52 -0400 |
commit | 040fed059c34da5115790609f1a038fc9aec88d1 (patch) | |
tree | 3ed4512426e6d1b834bb57e6d921ca0268f54c6e /arch/arm/mach-omap2 | |
parent | 3a07ae30a0bfa93ff2b242acf670c6d8e2de35de (diff) |
OMAP3: PM: prevent module wakeups from waking IVA2
By default, prevent functional wakeups from inside a module from
waking up the IVA2. Let DSP Bridge code handle this when loaded.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 1422e931f57f..c813a081c3c8 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -613,6 +613,12 @@ static void __init prcm_setup_regs(void) | |||
613 | /* Clear any pending PRCM interrupts */ | 613 | /* Clear any pending PRCM interrupts */ |
614 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | 614 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); |
615 | 615 | ||
616 | /* Don't attach IVA interrupts */ | ||
617 | prm_write_mod_reg(0, WKUP_MOD, OMAP3430_PM_IVAGRPSEL); | ||
618 | prm_write_mod_reg(0, CORE_MOD, OMAP3430_PM_IVAGRPSEL1); | ||
619 | prm_write_mod_reg(0, CORE_MOD, OMAP3430ES2_PM_IVAGRPSEL3); | ||
620 | prm_write_mod_reg(0, OMAP3430_PER_MOD, OMAP3430_PM_IVAGRPSEL); | ||
621 | |||
616 | /* Clear any pending 'reset' flags */ | 622 | /* Clear any pending 'reset' flags */ |
617 | prm_write_mod_reg(0xffffffff, MPU_MOD, RM_RSTST); | 623 | prm_write_mod_reg(0xffffffff, MPU_MOD, RM_RSTST); |
618 | prm_write_mod_reg(0xffffffff, CORE_MOD, RM_RSTST); | 624 | prm_write_mod_reg(0xffffffff, CORE_MOD, RM_RSTST); |