aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cpuidle44xx.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2013-03-25 06:05:06 -0400
committerKevin Hilman <khilman@linaro.org>2013-04-09 12:45:46 -0400
commiteb495d33558d065ad316b3bb21ebd7e81da1891e (patch)
tree5c35634d8dc05b6bf05f195d184fb8a994a406ef /arch/arm/mach-omap2/cpuidle44xx.c
parent63b951ed5b82c2891982437d1f57cb94dc0b3757 (diff)
ARM: OMAP4: CPUidle: Make C-state description field more precise
It is useful to know the CPU power state along with MPUSS power state in a supported C-state. Since the data is available via sysfs, one can avoid scrolling the source code for precise construction of C-state. Reported-by: Nishanth Menon <nm@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/cpuidle44xx.c')
-rw-r--r--arch/arm/mach-omap2/cpuidle44xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c
index aeeb8e61406e..e48e26e30409 100644
--- a/arch/arm/mach-omap2/cpuidle44xx.c
+++ b/arch/arm/mach-omap2/cpuidle44xx.c
@@ -171,7 +171,7 @@ static struct cpuidle_driver omap4_idle_driver = {
171 .flags = CPUIDLE_FLAG_TIME_VALID, 171 .flags = CPUIDLE_FLAG_TIME_VALID,
172 .enter = omap4_enter_idle_simple, 172 .enter = omap4_enter_idle_simple,
173 .name = "C1", 173 .name = "C1",
174 .desc = "MPUSS ON" 174 .desc = "CPUx ON, MPUSS ON"
175 }, 175 },
176 { 176 {
177 /* C2 - CPU0 OFF + CPU1 OFF + MPU CSWR */ 177 /* C2 - CPU0 OFF + CPU1 OFF + MPU CSWR */
@@ -181,7 +181,7 @@ static struct cpuidle_driver omap4_idle_driver = {
181 CPUIDLE_FLAG_TIMER_STOP, 181 CPUIDLE_FLAG_TIMER_STOP,
182 .enter = omap4_enter_idle_coupled, 182 .enter = omap4_enter_idle_coupled,
183 .name = "C2", 183 .name = "C2",
184 .desc = "MPUSS CSWR", 184 .desc = "CPUx OFF, MPUSS CSWR",
185 }, 185 },
186 { 186 {
187 /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */ 187 /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */
@@ -191,7 +191,7 @@ static struct cpuidle_driver omap4_idle_driver = {
191 CPUIDLE_FLAG_TIMER_STOP, 191 CPUIDLE_FLAG_TIMER_STOP,
192 .enter = omap4_enter_idle_coupled, 192 .enter = omap4_enter_idle_coupled,
193 .name = "C3", 193 .name = "C3",
194 .desc = "MPUSS OSWR", 194 .desc = "CPUx OFF, MPUSS OSWR",
195 }, 195 },
196 }, 196 },
197 .state_count = ARRAY_SIZE(omap4_idle_data), 197 .state_count = ARRAY_SIZE(omap4_idle_data),