clk: uniphier: add CPU-gear change (cpufreq) support
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 7 Dec 2016 01:32:32 +0000 (10:32 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 8 Dec 2016 00:17:01 +0000 (16:17 -0800)
commitd08f1f0d596c51430ab14d2236f6cc6b0337f5c5
treee985355eed454da785a68b0948b4923dfdf96ef9
parente3f4358e234edeb8fa28226387026fce72e454c1
clk: uniphier: add CPU-gear change (cpufreq) support

Core support code for CPU frequency changes, which will be used by
the generic cpufreq driver.

The register view is different from the generic clk-mux; it has
a separate status register, and an update bit to load the register
setting.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/uniphier/Makefile
drivers/clk/uniphier/clk-uniphier-core.c
drivers/clk/uniphier/clk-uniphier-cpugear.c [new file with mode: 0644]
drivers/clk/uniphier/clk-uniphier.h