This allows the CPUs to enter retention during idle and takes the idle power consumption down quite a bit. On omap5-uevm, the power consumption eventually settles down to about 920mW with ehci-omap and ohci-omap3 unloaded compared to about 1.7W without these patches. Note that it seems to take few minutes after booting for the idle power to go down to 920mW from 1.3W, no idea so far what might be causing that. Note that the TI kernel supports more modes in the v3.8 kernel, but the omap5 specific states can be added later. Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> --- arch/arm/mach-omap2/cpuidle44xx.c | 2 +- arch/arm/mach-omap2/pm44xx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -300,7 +300,7 @@ int __init omap4_idle_init(void) { struct cpuidle_driver *idle_driver; - if (soc_is_dra7xx()) { + if (soc_is_dra7xx() || soc_is_omap54xx()) { state_ptr = &dra7_idle_data[0]; idle_driver = &dra7_idle_driver; } else { diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c --- a/arch/arm/mach-omap2/pm44xx.c +++ b/arch/arm/mach-omap2/pm44xx.c @@ -287,7 +287,7 @@ int __init omap4_pm_init(void) /* Overwrite the default cpu_do_idle() */ arm_pm_idle = omap_default_idle; - if (cpu_is_omap44xx() || soc_is_dra7xx()) + if (cpu_is_omap44xx() || soc_is_omap54xx() || soc_is_dra7xx()) omap4_idle_init(); err2: -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html