]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: exynos4: Enable ARMCLK down feature
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 18 Jul 2014 14:36:32 +0000 (16:36 +0200)
committerTomasz Figa <t.figa@samsung.com>
Sat, 26 Jul 2014 00:49:31 +0000 (02:49 +0200)
commitf799d0d89bd50d8aa07344070b69f089af3203cd
tree5db6bd3049dc07b02edb60e5442aa5949022d4c2
parent13d3feabe2eaf9c8c575b46a6893d7a44533d48d
clk: samsung: exynos4: Enable ARMCLK down feature

Enable ARMCLK down feature on all Exynos4 SoCs. The frequency of
ARMCLK will be reduced upon entering idle mode (WFI or WFE).

The feature behaves like very fast cpufreq ondemand governor. In idle
mode this reduces energy consumption on full frequency chosen by
cpufreq governor by approximately:
 - Trats2:  6.5% (153 mA -> 143 mA)
 - Trats:  33.0% (180 mA -> 120 mA)
 - Gear1:  27.0% (180 mA -> 130 mA)

The patch uses simillar settings as Exynos5250 (clk-exynos5250.c),
except it disables clock up feature and on Exynos4412 ARMCLK down is
enabled for all 4 cores.

Tested on Trats board (Exynos4210), Trats2 board (Exynos4412) and
Samsung Gear 1 (Exynos4212).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/clk/samsung/clk-exynos4.c