Skip to content

clk: cs2000-cp: add dynamic mode and more features

Daniel Mack linux-clk linux-devicetree 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 posting 4/49 patches 10 repliesApplied
  2. v4 posting 3/49 patches 0 repliesSuperseded
  3. v4 posting 2/49 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v5 Latest9 patches3 repliesIn review
v4 posting 1/49 patches3 repliesSuperseded
v39 patches6 repliesSuperseded
v23 patches5 repliesSuperseded
v13 patches2 repliesSuperseded

Changes in v5 from the cover letter

* Fixed a regression for static mode configurations
* Added Rob's Acked-by signatures

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dt-bindings: clock: convert cs2000-cp bindings to yamlDocumentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml Documentation/devicetree/bindings/clock/cs2000-cp.txt+63 -220 replies
2/9dt-bindings: clock: cs2000-cp: document aux-output-sourceDocumentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml include/dt-bindings/clock/cirrus,cs2000-cp.h+28 -00 replies
3/9dt-bindings: clock: cs2000-cp: document cirrus,clock-skip flagDocumentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml+6 -01 reply
4/9dt-bindings: clock: cs2000-cp: document cirrus,dynamic-modeDocumentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml+8 -00 replies
5/9clk: cs2000-cp: Make aux output function controllabledrivers/clk/clk-cs2000-cp.c+9 -00 replies
6/9clk: cs2000-cp: add support for dynamic modedrivers/clk/clk-cs2000-cp.c+74 -370 replies
7/9clk: cs2000-cp: make clock skip setting configurabledrivers/clk/clk-cs2000-cp.c+4 -10 replies
8/9clk: cs2000-cp: freeze config during register fiddlingdrivers/clk/clk-cs2000-cp.c+9 -00 replies
9/9clk: cs2000-cp: convert driver to regmapdrivers/clk/Kconfig drivers/clk/clk-cs2000-cp.c+69 -560 replies

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/9R-b
2/9A-b
3/9A-b
4/9A-b
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/9] clk: cs2000-cp: add dynamic mode and more features

This patch series adds support for dynamic mode, configurable clock skip settings and a tranisition to regmap.

The most significant change is the additional support for dynamic mode. Currently, the driver only supports static mode in which the (currently mandatory) CLK_IN clock input is not used by the hardware.

Unlike v3 of this series, the patch stack now maintains full compatibility with existing bindings. Rather than infering the mode of operation through the presence of an optional clock, the driver now parses a new DT property to enable the dynamic mode.

Thanks,
Daniel

Changelog:

v4 -> v5:
* Fixed a regression for static mode configurations
* Added Rob's Acked-by signatures

v3 -> v4:
* Introduced cirrus,dynamic-mode in favor of making CLK_IN optional

Daniel Mack (9):
dt-bindings: clock: convert cs2000-cp bindings to yaml
dt-bindings: clock: cs2000-cp: document aux-output-source
dt-bindings: clock: cs2000-cp: document cirrus,clock-skip flag
dt-bindings: clock: cs2000-cp: document cirrus,dynamic-mode
clk: cs2000-cp: Make aux output function controllable
clk: cs2000-cp: add support for dynamic mode
clk: cs2000-cp: make clock skip setting configurable
clk: cs2000-cp: freeze config during register fiddling
clk: cs2000-cp: convert driver to regmap

 .../bindings/clock/cirrus,cs2000-cp.yaml      |  91 +++++++
 .../devicetree/bindings/clock/cs2000-cp.txt   |  22 --
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/clk-cs2000-cp.c                   | 240 +++++++++++-------
 include/dt-bindings/clock/cirrus,cs2000-cp.h  |  14 +
 5 files changed, 261 insertions(+), 107 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
 delete mode 100644 Documentation/devicetree/bindings/clock/cs2000-cp.txt
 create mode 100644 include/dt-bindings/clock/cirrus,cs2000-cp.h
Signature · 1 line
2.31.1