diff options
| -rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index c28552bfeb8d..5739429894b0 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
| @@ -1356,7 +1356,8 @@ static void _enable_sysc(struct omap_hwmod *oh) | |||
| 1356 | 1356 | ||
| 1357 | clkdm = _get_clkdm(oh); | 1357 | clkdm = _get_clkdm(oh); |
| 1358 | if (sf & SYSC_HAS_SIDLEMODE) { | 1358 | if (sf & SYSC_HAS_SIDLEMODE) { |
| 1359 | if (oh->flags & HWMOD_SWSUP_SIDLE) { | 1359 | if (oh->flags & HWMOD_SWSUP_SIDLE || |
| 1360 | oh->flags & HWMOD_SWSUP_SIDLE_ACT) { | ||
| 1360 | idlemode = HWMOD_IDLEMODE_NO; | 1361 | idlemode = HWMOD_IDLEMODE_NO; |
| 1361 | } else { | 1362 | } else { |
| 1362 | if (sf & SYSC_HAS_ENAWAKEUP) | 1363 | if (sf & SYSC_HAS_ENAWAKEUP) |
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index fe5962921f07..8498774b5fb1 100644 --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h | |||
| @@ -463,6 +463,9 @@ struct omap_hwmod_omap4_prcm { | |||
| 463 | * is kept in force-standby mode. Failing to do so causes PM problems | 463 | * is kept in force-standby mode. Failing to do so causes PM problems |
| 464 | * with musb on OMAP3630 at least. Note that musb has a dedicated register | 464 | * with musb on OMAP3630 at least. Note that musb has a dedicated register |
| 465 | * to control MSTANDBY signal when MIDLEMODE is set to force-standby. | 465 | * to control MSTANDBY signal when MIDLEMODE is set to force-standby. |
| 466 | * HWMOD_SWSUP_SIDLE_ACT: omap_hwmod code should manually bring the module | ||
| 467 | * out of idle, but rely on smart-idle to the put it back in idle, | ||
| 468 | * so the wakeups are still functional (Only known case for now is UART) | ||
| 466 | */ | 469 | */ |
| 467 | #define HWMOD_SWSUP_SIDLE (1 << 0) | 470 | #define HWMOD_SWSUP_SIDLE (1 << 0) |
| 468 | #define HWMOD_SWSUP_MSTANDBY (1 << 1) | 471 | #define HWMOD_SWSUP_MSTANDBY (1 << 1) |
| @@ -476,6 +479,7 @@ struct omap_hwmod_omap4_prcm { | |||
| 476 | #define HWMOD_EXT_OPT_MAIN_CLK (1 << 9) | 479 | #define HWMOD_EXT_OPT_MAIN_CLK (1 << 9) |
| 477 | #define HWMOD_BLOCK_WFI (1 << 10) | 480 | #define HWMOD_BLOCK_WFI (1 << 10) |
| 478 | #define HWMOD_FORCE_MSTANDBY (1 << 11) | 481 | #define HWMOD_FORCE_MSTANDBY (1 << 11) |
| 482 | #define HWMOD_SWSUP_SIDLE_ACT (1 << 12) | ||
| 479 | 483 | ||
| 480 | /* | 484 | /* |
| 481 | * omap_hwmod._int_flags definitions | 485 | * omap_hwmod._int_flags definitions |
