提交 eb495d33 编写于 作者: S Santosh Shilimkar 提交者: Kevin Hilman

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: NNishanth Menon <nm@ti.com>
Acked-by: NNishanth Menon <nm@ti.com>
Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: NKevin Hilman <khilman@linaro.org>
上级 63b951ed
...@@ -171,7 +171,7 @@ static struct cpuidle_driver omap4_idle_driver = { ...@@ -171,7 +171,7 @@ static struct cpuidle_driver omap4_idle_driver = {
.flags = CPUIDLE_FLAG_TIME_VALID, .flags = CPUIDLE_FLAG_TIME_VALID,
.enter = omap4_enter_idle_simple, .enter = omap4_enter_idle_simple,
.name = "C1", .name = "C1",
.desc = "MPUSS ON" .desc = "CPUx ON, MPUSS ON"
}, },
{ {
/* C2 - CPU0 OFF + CPU1 OFF + MPU CSWR */ /* C2 - CPU0 OFF + CPU1 OFF + MPU CSWR */
...@@ -181,7 +181,7 @@ static struct cpuidle_driver omap4_idle_driver = { ...@@ -181,7 +181,7 @@ static struct cpuidle_driver omap4_idle_driver = {
CPUIDLE_FLAG_TIMER_STOP, CPUIDLE_FLAG_TIMER_STOP,
.enter = omap4_enter_idle_coupled, .enter = omap4_enter_idle_coupled,
.name = "C2", .name = "C2",
.desc = "MPUSS CSWR", .desc = "CPUx OFF, MPUSS CSWR",
}, },
{ {
/* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */ /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */
...@@ -191,7 +191,7 @@ static struct cpuidle_driver omap4_idle_driver = { ...@@ -191,7 +191,7 @@ static struct cpuidle_driver omap4_idle_driver = {
CPUIDLE_FLAG_TIMER_STOP, CPUIDLE_FLAG_TIMER_STOP,
.enter = omap4_enter_idle_coupled, .enter = omap4_enter_idle_coupled,
.name = "C3", .name = "C3",
.desc = "MPUSS OSWR", .desc = "CPUx OFF, MPUSS OSWR",
}, },
}, },
.state_count = ARRAY_SIZE(omap4_idle_data), .state_count = ARRAY_SIZE(omap4_idle_data),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册