diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-09-04 21:43:17 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-09-27 17:57:17 +0200 |
commit | 2b9bceeab70800546050f59cee4efb69c261a683 (patch) | |
tree | bd57731277a9dc1d0b5f80d03a2bd345df5bc7fb /drivers/clk/rockchip/clk-cpu.c | |
parent | f5f7004fdec7eb1d2372278f1acad5f70f2da1e4 (diff) | |
download | lwn-2b9bceeab70800546050f59cee4efb69c261a683.tar.gz lwn-2b9bceeab70800546050f59cee4efb69c261a683.zip |
clk: rockchip: make tightly bound armclk child-clocks read-only
Rockchip SoCs contain clocks tightly bound to the armclk, where the best
rate / divider is supplied by the vendor after careful measuring.
Often this ideal rate may be greater than the current rate.
Therefore prevent the ccf from trying to set these dividers itself by
setting them to read-only.
In the case of the rk3066, this also includes the aclk_cpu, which makes it
necessary to also split its direct child-clocks (pclk_cpu, hclk_cpu, ...)
into individual definitions for rk3066 and rk3188.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'drivers/clk/rockchip/clk-cpu.c')
0 files changed, 0 insertions, 0 deletions