sh: share clock framework frequency table code
cover sh: share clock framework frequency table code
sh: share clock framework frequency table code
[PATCH 01/04] sh: add pll_clk to sh7785
[PATCH 02/04] sh: add shared clock framework frequency table code [PATCH 03/04] sh: use shared frequency tables on sh7785 [PATCH 04/04] sh: remove clk_ops->build_rate_table()
These patches modify the clkfwk topic branch with the following:
- break out sh7785 pll_clk to remove multiplier from frqmr_recalc()
- implement clk_rate_table_build() and clk_rate_table_round()
- hook in the above functions in the sh7785 code, drop ->build_rate_table()
- remove ->build_rate_table() callback since recalc() can be used instead
---
arch/sh/include/asm/clock.h | 19 ++++ arch/sh/kernel/cpu/clock.c | 77 +++++++++++++++++++ arch/sh/kernel/cpu/sh4a/clock-sh7785.c | 125 +++++++++++--------------------- 3 files changed, 138 insertions(+), 83 deletions(-)
Quoted 7 lines · Magnus Damm
sh: share clock framework frequency table code
[PATCH 01/04] sh: add
pll_clkto sh7785
[PATCH 02/04] sh: add shared clock framework frequency table code [PATCH 03/04] sh: use shared frequency tables on sh7785 [PATCH 04/04] sh: removeclk_ops->build_rate_table()
Quoted 7 lines
These patches modify the clkfwk topic branch with the following:
- break out sh7785pll_clkto remove multiplier fromfrqmr_recalc()
- implementclk_rate_table_build()andclk_rate_table_round()
- hook in the above functions in the sh7785 code, drop ->build_rate_table()
- remove ->build_rate_table() callback sincerecalc()can be used insteadSigned-off-by Magnus Damm <[email protected]>
Series applied to sh/clkfwk branch, thanks.