]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-3.0/pm-wip/voltdm/0030-OMAP4-hwmod-data-Add-MSTANDBY_SMART_WKUP-flag.patch
cd7e066edacda8ac078211471b7226b5f44c3c66
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / pm-wip / voltdm / 0030-OMAP4-hwmod-data-Add-MSTANDBY_SMART_WKUP-flag.patch
1 From 28416cdd539f217f902178b45f52f38ec41eb779 Mon Sep 17 00:00:00 2001
2 From: Benoit Cousson <b-cousson@ti.com>
3 Date: Fri, 1 Jul 2011 22:54:01 +0200
4 Subject: [PATCH 030/149] OMAP4: hwmod data: Add MSTANDBY_SMART_WKUP flag
6 Add the flag to every IPs that support it to allow the
7 framework to enable it instead of the SMART_STANDBY default
8 mode.
9 Without that, an IP with busmaster capability will not
10 be able to wakeup the interconnect at all.
12 Signed-off-by: Benoit Cousson <b-cousson@ti.com>
13 Signed-off-by: Paul Walmsley <paul@pwsan.com>
14 ---
15  arch/arm/mach-omap2/omap_hwmod_44xx_data.c |    9 +++++----
16  1 files changed, 5 insertions(+), 4 deletions(-)
18 diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
19 index e1c69ff..8cbbfbf 100644
20 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
21 +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
22 @@ -660,7 +660,8 @@ static struct omap_hwmod_class_sysconfig omap44xx_aess_sysc = {
23         .sysc_offs      = 0x0010,
24         .sysc_flags     = (SYSC_HAS_MIDLEMODE | SYSC_HAS_SIDLEMODE),
25         .idlemodes      = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
26 -                          MSTANDBY_FORCE | MSTANDBY_NO | MSTANDBY_SMART),
27 +                          MSTANDBY_FORCE | MSTANDBY_NO | MSTANDBY_SMART |
28 +                          MSTANDBY_SMART_WKUP),
29         .sysc_fields    = &omap_hwmod_sysc_type2,
30  };
31  
32 @@ -2044,7 +2045,7 @@ static struct omap_hwmod_class_sysconfig omap44xx_hsi_sysc = {
33                            SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
34         .idlemodes      = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
35                            SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
36 -                          MSTANDBY_SMART),
37 +                          MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
38         .sysc_fields    = &omap_hwmod_sysc_type1,
39  };
40  
41 @@ -2446,7 +2447,7 @@ static struct omap_hwmod_class_sysconfig omap44xx_iss_sysc = {
42                            SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET),
43         .idlemodes      = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
44                            SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
45 -                          MSTANDBY_SMART),
46 +                          MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
47         .sysc_fields    = &omap_hwmod_sysc_type2,
48  };
49  
50 @@ -3420,7 +3421,7 @@ static struct omap_hwmod_class_sysconfig omap44xx_mmc_sysc = {
51                            SYSC_HAS_SOFTRESET),
52         .idlemodes      = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
53                            SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
54 -                          MSTANDBY_SMART),
55 +                          MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
56         .sysc_fields    = &omap_hwmod_sysc_type2,
57  };
58  
59 -- 
60 1.6.6.1