diff options
author | Michael Turquette <mturquette@linaro.org> | 2014-11-29 00:00:16 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2014-11-29 00:00:16 -0500 |
commit | b572b5f821abb350439609f367bd35961f53a28e (patch) | |
tree | 380542ae6d32a0f32763062af3194d9628560123 /drivers/clk/rockchip/clk.c | |
parent | 250d07d1e782e68e9b2e7b637703b3739f0ec1b1 (diff) | |
parent | 89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c (diff) |
Merge tag 'v3.19-rockchip-clk2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next
- clock phase setting capability for the rk3288 mmc clocks
- pll init to allow syncing to actual rate table values
- some more exported clocks
- fixes for some clocks (typos etc) all of them not yet used
in actual drivers
Diffstat (limited to 'drivers/clk/rockchip/clk.c')
-rw-r--r-- | drivers/clk/rockchip/clk.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c index 70559fab36b6..20e05bbb3a67 100644 --- a/drivers/clk/rockchip/clk.c +++ b/drivers/clk/rockchip/clk.c | |||
@@ -197,7 +197,8 @@ void __init rockchip_clk_register_plls(struct rockchip_pll_clock *list, | |||
197 | list->parent_names, list->num_parents, | 197 | list->parent_names, list->num_parents, |
198 | reg_base, list->con_offset, grf_lock_offset, | 198 | reg_base, list->con_offset, grf_lock_offset, |
199 | list->lock_shift, list->mode_offset, | 199 | list->lock_shift, list->mode_offset, |
200 | list->mode_shift, list->rate_table, &clk_lock); | 200 | list->mode_shift, list->rate_table, |
201 | list->pll_flags, &clk_lock); | ||
201 | if (IS_ERR(clk)) { | 202 | if (IS_ERR(clk)) { |
202 | pr_err("%s: failed to register clock %s\n", __func__, | 203 | pr_err("%s: failed to register clock %s\n", __func__, |
203 | list->name); | 204 | list->name); |
@@ -268,6 +269,14 @@ void __init rockchip_clk_register_branches( | |||
268 | list->gate_offset, list->gate_shift, | 269 | list->gate_offset, list->gate_shift, |
269 | list->gate_flags, flags, &clk_lock); | 270 | list->gate_flags, flags, &clk_lock); |
270 | break; | 271 | break; |
272 | case branch_mmc: | ||
273 | clk = rockchip_clk_register_mmc( | ||
274 | list->name, | ||
275 | list->parent_names, list->num_parents, | ||
276 | reg_base + list->muxdiv_offset, | ||
277 | list->div_shift | ||
278 | ); | ||
279 | break; | ||
271 | } | 280 | } |
272 | 281 | ||
273 | /* none of the cases above matched */ | 282 | /* none of the cases above matched */ |