Skip to content

clk: dt: bindings for mux, divider & gate clocks

Mike Turquette linux-arm-kernel linux-devicetree lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 posting 2/20 of 5 patches 0 repliesNew
  2. v4 Latest5 patches 21 repliesIn review
  3. v3 posting 1/25 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches6 repliesSuperseded
v1 RFC0 of 3 patches0 repliesSuperseded

Changes in v4 from the cover letter

* added Tested-by & Reviewed-by from Heiko
* replaced underscores with dashes in DT property names
* bail from of clock setup function early if of_iomap fails
* removed unecessary explict cast

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: divider: replace bitfield width with maskarch/arm/mach-imx/clk-busy.c drivers/clk/clk-divider.c drivers/clk/mxs/clk-div.c +2 more+19 -200 replies
2/5clk: of: helper for determining number of parent clocksdrivers/clk/clk.c include/linux/clk-provider.h+7 -00 replies
3/5clk: dt: binding for basic multiplexer clockDocumentation/devicetree/bindings/clock/mux-clock.txt drivers/clk/clk-mux.c include/linux/clk-provider.h+150 -21 reply
3/5clk: dt: binding for basic multiplexer clock+0 -03 replies
3/5clk: dt: binding for basic multiplexer clock+0 -02 replies
3/5clk: dt: binding for basic multiplexer clock+0 -08 replies
4/5clk: dt: binding for basic divider clockDocumentation/devicetree/bindings/clock/divider-clock.txt drivers/clk/clk-divider.c include/linux/clk-provider.h+188 -10 replies
5/5clk: dt: binding for basic gate clockDocumentation/devicetree/bindings/clock/gate-clock.txt drivers/clk/clk-gate.c include/linux/clk-provider.h+85 -05 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchShawn GuoHeiko StuebnerSantosh Shilimkar
SeriesT-b
1/5T-b T-b R-b
2/5T-b R-b
3/5T-b R-b
3/5T-b R-b
3/5T-b R-b
3/5T-b R-b
4/5T-b R-b
5/5T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks

This series introduces binding definitions for common register-mapped clock multiplexer, divider and gate IP blocks along with the corresponding setup functions for matching DT data. The bindings are similar to the struct definitions but please don't hold that against the
binding: the struct definitions closely model the hardware register layout.

The delta from v3 is very small and only consists of cosmetic changes and one functional change for better error handling.

Changes since v3:
* added Tested-by & Reviewed-by from Heiko
* replaced underscores with dashes in DT property names
* bail from of clock setup function early if of_iomap fails
* removed unecessary explict cast

Mike Turquette (5):
clk: divider: replace bitfield width with mask
clk: of: helper for determining number of parent clocks
clk: dt: binding for basic multiplexer clock
clk: dt: binding for basic divider clock
clk: dt: binding for basic gate clock

 .../devicetree/bindings/clock/divider-clock.txt    |  90 +++++++++++++++
 .../devicetree/bindings/clock/gate-clock.txt       |  36 ++++++
 .../devicetree/bindings/clock/mux-clock.txt        |  79 +++++++++++++
 arch/arm/mach-imx/clk-busy.c                       |   2 +-
 drivers/clk/clk-divider.c                          | 128 ++++++++++++++++++---
 drivers/clk/clk-gate.c                             |  47 ++++++++
 drivers/clk/clk-mux.c                              |  68 ++++++++++-
 drivers/clk/clk.c                                  |   6 +
 drivers/clk/mxs/clk-div.c                          |   2 +-
 include/linux/clk-private.h                        |   2 +-
 include/linux/clk-provider.h                       |  12 +-
 11 files changed, 449 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/divider-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/gate-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/mux-clock.txt
Signature · 1 line
1.8.1.2