clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 2 Nov 2016 21:33:06 +0000 (22:33 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 4 Nov 2016 20:25:03 +0000 (13:25 -0700)
commit9fe69429509858d9db6ae123c4cb078351ec2623
tree679a8a1b46ecbe049017a3a749d9c560312e8d9e
parent3bd31cdc4aa673f5b5227bc25aba8d8ace61e594
clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq

This is the initial stage to transfer the pxa25x and pxa27x CPU clocks
handling from cpufreq to the clock API. More precisely, the clocks
transferred are :
 - cpll : core pll, known also as the CPU core turbo frequency
 - core : core, known also as the CPU actual frequency, being either the
          CPU core turbo frequency or the CPU core run frequency

This transfer is a prequel to shrink the code in pxa2xx-cpufreq.c, so
that it can become, at least in devicetree builds, the casual cpufreq-dt
driver.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/pxa/clk-pxa.c
drivers/clk/pxa/clk-pxa.h
drivers/clk/pxa/clk-pxa25x.c
drivers/clk/pxa/clk-pxa27x.c