diff options
author | Heiko Stübner <heiko@sntech.de> | 2014-07-03 01:59:10 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-07-13 12:17:06 -0700 |
commit | 90c590254051f511299538c158e12fdad41ce163 (patch) | |
tree | d77e33a138a6b9ec55f2b7f0cdbf259cb3cffff4 /drivers/clk/rockchip/Makefile | |
parent | a245fecbb8064641d9cc317b347b5bdb2b7a4bb6 (diff) |
clk: rockchip: add clock type for pll clocks and pll used on rk3066
All known Rockchip SoCs down to the RK28xx (ARM9) use a similar pattern to
handle their plls:
|--\
xin32k ----------------|mux\
xin24m -----| pll |----|pll|--- pll output
\---------------|src/
|--/
The pll output is sourced from 1 of 3 sources, the actual pll being one of
them. To change the pll frequency it is imperative to remux it to another
source beforehand. This is done by adding a clock-listener to the pll that
handles the remuxing before and after the rate change.
The output mux is implemented as a separate clock to make use of already
existing common-clock features for disabling the pll if one of the other
two sources is used.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-By: Max Schwarz <max.schwarz@online.de>
Tested-By: Max Schwarz <max.schwarz@online.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/rockchip/Makefile')
-rw-r--r-- | drivers/clk/rockchip/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/Makefile b/drivers/clk/rockchip/Makefile index 0068a8b560b..2cb91649604 100644 --- a/drivers/clk/rockchip/Makefile +++ b/drivers/clk/rockchip/Makefile @@ -4,3 +4,4 @@ obj-y += clk-rockchip.o obj-y += clk.o +obj-y += clk-pll.o |