aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2010-12-21 23:31:28 -0500
committerPaul Walmsley <paul@pwsan.com>2010-12-21 23:31:28 -0500
commit7cffa6b888c77e9386a6b886ef10bc57aac464ec (patch)
tree21b548f556a27652f930fbbd87f9d238875b3e56 /arch/arm
parent86009eb326afde34ffdc5648cd344aa86b8d58d4 (diff)
OMAP4: hwmod data: Add SIDLE_SMART_WKUP modes to several IPs
uart, gpio, wd_timer and i2c does support the new smart-idle with wakeup added in OMAP4. Add the flag to allow the hwmod core to enable this mode when applicable. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Cc: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index efc614de7f69..c9c98ee81191 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -676,7 +676,8 @@ static struct omap_hwmod_class_sysconfig omap44xx_gpio_sysc = {
676 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP | 676 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP |
677 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | 677 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
678 SYSS_HAS_RESET_STATUS), 678 SYSS_HAS_RESET_STATUS),
679 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 679 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
680 SIDLE_SMART_WKUP),
680 .sysc_fields = &omap_hwmod_sysc_type1, 681 .sysc_fields = &omap_hwmod_sysc_type1,
681}; 682};
682 683
@@ -1020,7 +1021,8 @@ static struct omap_hwmod_class_sysconfig omap44xx_i2c_sysc = {
1020 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_CLOCKACTIVITY | 1021 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_CLOCKACTIVITY |
1021 SYSC_HAS_ENAWAKEUP | SYSC_HAS_SIDLEMODE | 1022 SYSC_HAS_ENAWAKEUP | SYSC_HAS_SIDLEMODE |
1022 SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), 1023 SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
1023 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 1024 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
1025 SIDLE_SMART_WKUP),
1024 .sysc_fields = &omap_hwmod_sysc_type1, 1026 .sysc_fields = &omap_hwmod_sysc_type1,
1025}; 1027};
1026 1028
@@ -1402,7 +1404,8 @@ static struct omap_hwmod_class_sysconfig omap44xx_uart_sysc = {
1402 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP | 1404 .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP |
1403 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | 1405 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
1404 SYSS_HAS_RESET_STATUS), 1406 SYSS_HAS_RESET_STATUS),
1405 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 1407 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
1408 SIDLE_SMART_WKUP),
1406 .sysc_fields = &omap_hwmod_sysc_type1, 1409 .sysc_fields = &omap_hwmod_sysc_type1,
1407}; 1410};
1408 1411
@@ -1632,7 +1635,8 @@ static struct omap_hwmod_class_sysconfig omap44xx_wd_timer_sysc = {
1632 .syss_offs = 0x0014, 1635 .syss_offs = 0x0014,
1633 .sysc_flags = (SYSC_HAS_EMUFREE | SYSC_HAS_SIDLEMODE | 1636 .sysc_flags = (SYSC_HAS_EMUFREE | SYSC_HAS_SIDLEMODE |
1634 SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), 1637 SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
1635 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 1638 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
1639 SIDLE_SMART_WKUP),
1636 .sysc_fields = &omap_hwmod_sysc_type1, 1640 .sysc_fields = &omap_hwmod_sysc_type1,
1637}; 1641};
1638 1642