cpuidle:clk:Exynos4412: Enable support for clock down when WFI cpuidle state is entered
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 10 Apr 2014 14:46:08 +0000 (16:46 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:28:30 +0000 (07:28 +0200)
commiteb4589fb3a1d1acde2f80d9ad963c1eb57756fd0
tree696b1052cf11c5fbd457b6fce7ee51af8b6e3c5c
parent1c1fcf8b842a4c6a6b76bd037c4a3b10a13c716f
cpuidle:clk:Exynos4412: Enable support for clock down when WFI cpuidle state is entered

This patch adds support for setting ARM cores' clock frequency down when
entering WFI/WFE based cpuidle state.

On the Trats2 device: performance governor, 1.4 GHz frequency, no extra
load, 4 cores enabled:
Without core clock down feature: 395 mA
With core clock down feature: 337 mA

Power consumption reduction around 15%

Change-Id: I7bae29b0332a97c7b18ffb79f4b0a5ff3d70b7ce
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
arch/arm/mach-exynos/cpuidle.c
arch/arm/mach-exynos/include/mach/regs-clock.h