Skip to contentSkip to conversation

sh: share clock framework frequency table code

PATCH In review Magnus Damm 2 participants 2 messages May 25, 2009 – May 26, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

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(-)
#1 lore raw
Quoted 7 lines · Magnus Damm

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()

Quoted 7 lines

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

Series applied to sh/clkfwk branch, thanks.