diff options
author | Heiko Stuebner <heiko@sntech.de> | 2016-03-15 18:55:41 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-05-09 17:04:15 +0300 |
commit | c9c3c6eecc5533d14bb9bc82319257eb8bc52768 (patch) | |
tree | a639c8aca7f7e360a7d51c148da846c5fb9e8c98 /drivers/clk/rockchip/clk.h | |
parent | 6f339dc2719eb01448c70fe3d56287d1eb9bd67e (diff) | |
download | linux-c9c3c6eecc5533d14bb9bc82319257eb8bc52768.tar.xz |
clk: rockchip: simplify GRF handling in pll clocks
With the previous commit, the clock drivers now know at init time if the
GRF regmap is available. That means if it isn't available then, it also
won't become available later and we can therefore switch PLLs, that need
the GRF for the lock-status, to read-only mode - similar behaviour as the
aborting of rate changes we did before.
This saves some conditionals on every rate change and we can also drop
the rockchip_clk_get_grf function completely.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip/clk.h')
-rw-r--r-- | drivers/clk/rockchip/clk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h index 1abb7d05d1c7..2194ffa8c9fd 100644 --- a/drivers/clk/rockchip/clk.h +++ b/drivers/clk/rockchip/clk.h @@ -600,7 +600,6 @@ struct rockchip_clk_provider *rockchip_clk_init(struct device_node *np, void __iomem *base, unsigned long nr_clks); void rockchip_clk_of_add_provider(struct device_node *np, struct rockchip_clk_provider *ctx); -struct regmap *rockchip_clk_get_grf(struct rockchip_clk_provider *ctx); void rockchip_clk_add_lookup(struct rockchip_clk_provider *ctx, struct clk *clk, unsigned int id); void rockchip_clk_register_branches(struct rockchip_clk_provider *ctx, |