Skip to content

Coordinated Clks

Derek Basehore linux-arm-kernel linux-clk linux-doc linux-rockchip lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 of 6 patches 5 repliesIn review
  2. v16 patches 14 repliesSuperseded

Changes in v2 from the cover letter

-Unrolled recursion in unprepare/disable for
"clk: Remove recursion in clk_core_{prepare,enable}()" -Fixed issue with "clk: fix clk_calc_subtree compute duplications" -Fixed bug with too few allocated clk_change structs in "clk: add coordinated clk changes support"
-Further cleaned up patches

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6clk: Remove recursion in clk_core_{prepare,enable}()drivers/clk/clk.c+107 -845 replies
2/6clk: fix clk_calc_subtree compute duplicationsdrivers/clk/clk.c+38 -110 replies
4/6clk: add coordinated clk changes supportdrivers/clk/clk.c include/linux/clk-provider.h+200 -170 replies
5/6docs: driver-api: add pre_rate_req to clk documentationDocumentation/driver-api/clk.rst+6 -10 replies
6/6clk: rockchip: use pre_rate_req for cpuclkdrivers/clk/rockchip/clk-cpu.c+137 -1190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] Coordinated Clks

v2 changes:
-Unrolled recursion in unprepare/disable for
"clk: Remove recursion in clk_core_{prepare,enable}()" -Fixed issue with "clk: fix clk_calc_subtree compute duplications" -Fixed bug with too few allocated clk_change structs in "clk: add coordinated clk changes support"
-Further cleaned up patches

Here's the first set of patches that I'm working on for the Common Clk Framework. Part of this patch series adds a new clk op, pre_rate_req. This is designed to replace the clk notifier approach that many clk drivers use right now to setup alt parents or temporary dividers. This should allow for the removal of the CLK_RECALC_NEW_RATES flag and the implementation of a better locking scheme for the prepare lock.

Derek Basehore (5):
clk: fix clk_calc_subtree compute duplications
clk: change rates via list iteration
clk: add coordinated clk changes support
docs: driver-api: add pre_rate_req to clk documentation
clk: rockchip: use pre_rate_req for cpuclk

Stephen Boyd (1):
clk: Remove recursion in clk_core_{prepare,enable}()

 Documentation/driver-api/clk.rst |   7 +-
 drivers/clk/clk.c                | 659 +++++++++++++++++++++++--------
 drivers/clk/rockchip/clk-cpu.c   | 256 ++++++------
 include/linux/clk-provider.h     |  10 +
 4 files changed, 642 insertions(+), 290 deletions(-)
Signature · 1 line
2.21.0.352.gf09ad66450-goog