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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:28 +0000 (11:47 +0900)
commit619b370f569ba6d3d05c175c1fe0dbc311f1d74b
treeb0f6d43fb86806f23e4b4f8239ff4fec4f878175
parentfd3a1558a2ae3f3636c25cbb22ae35138594e54e
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