sh: share clock framework frequency table code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sh: add pll_clk to sh7785arch/ | +33 | 0 replies | |
| 2/4 | sh: add shared clock framework frequency table codearch/ arch/ | +93 | 0 replies | |
| 3/4 | sh: use shared frequency tables on sh7785arch/ | +12 | 0 replies | |
| 4/4 | sh: remove clk_ops->build_rate_table()arch/ arch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/04] 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
Signed-off-by Magnus Damm <[email protected]>
---
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(-)