Skip to content

Convert some basic type clks to new parent way

Stephen Boyd linux-clk lkml 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12clk: gpio: Use DT way of specifying parentsdrivers/clk/clk-gpio.c include/linux/clk-provider.h+58 -1511 reply
2/12clk: fixed-rate: Convert to clk_hw based APIsdrivers/clk/clk-fixed-rate.c+15 -161 reply
3/12clk: fixed-rate: Remove clk_register_fixed_rate_with_accuracy()drivers/clk/clk-fixed-rate.c include/linux/clk-provider.h+7 -191 reply
4/12clk: fixed-rate: Move to_clk_fixed_rate() to C filedrivers/clk/clk-fixed-rate.c include/linux/clk-provider.h+2 -21 reply
5/12clk: fixed-rate: Document accuracy memberinclude/linux/clk-provider.h+1 -01 reply
6/12clk: fixed-rate: Add support for specifying parents via DT/pointersdrivers/clk/clk-fixed-rate.c include/linux/clk-provider.h+114 -421 reply
7/12clk: fixed-rate: Add clk flags for parent accuracydrivers/clk/clk-fixed-rate.c include/linux/clk-provider.h+12 -11 reply
8/12clk: fixed-rate: Document that accuracy isn't a rateinclude/linux/clk-provider.h+1 -11 reply
9/12clk: asm9260: Use parent accuracy in fixed rate clkdrivers/clk/clk-asm9260.c+4 -41 reply
10/12clk: mux: Add support for specifying parents via DT/pointersdrivers/clk/clk-mux.c drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c +1 more+60 -621 reply
11/12clk: gate: Add support for specifying parents via DT/pointersdrivers/clk/clk-gate.c include/linux/clk-provider.h+74 -201 reply
12/12clk: divider: Add support for specifying parents via DT/pointersdrivers/clk/clk-divider.c include/linux/clk-provider.h+147 -901 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/12] Convert some basic type clks to new parent way

This series converts most of the basic clk types to support the new way of specifying parents. There's still the composite and fixed-factor types to convert. Sending now because I'm internally debating having the big multiplexer function take only arguments that would correspond to the parent_data structure instead of passing down the three different ways of specifying parents.

Cc Enric Balletbo i Serra <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Magnus Damm <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Clark <[email protected]>
Cc Sean Paul <[email protected]>
Cc Simon Horman <[email protected]>
Cc Tony Lindgren <[email protected]>

Stephen Boyd (12):
clk: gpio: Use DT way of specifying parents
clk: fixed-rate: Convert to clk_hw based APIs
clk: fixed-rate: Remove clk_register_fixed_rate_with_accuracy()
clk: fixed-rate: Move to_clk_fixed_rate() to C file
clk: fixed-rate: Document accuracy member
clk: fixed-rate: Add support for specifying parents via DT/pointers
clk: fixed-rate: Add clk flags for parent accuracy
clk: fixed-rate: Document that accuracy isn't a rate
clk: asm9260: Use parent accuracy in fixed rate clk
clk: mux: Add support for specifying parents via DT/pointers
clk: gate: Add support for specifying parents via DT/pointers
clk: divider: Add support for specifying parents via DT/pointers

 drivers/clk/clk-asm9260.c                  |   8 +-
 drivers/clk/clk-divider.c                  |  84 +----
 drivers/clk/clk-fixed-rate.c               | 113 +++---
 drivers/clk/clk-gate.c                     |  35 +-
 drivers/clk/clk-gpio.c                     | 171 +++------
 drivers/clk/clk-mux.c                      |  58 +--
 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c |   4 +-
 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c |   4 +-
 include/linux/clk-provider.h               | 416 +++++++++++++++++----
 9 files changed, 490 insertions(+), 403 deletions(-)

base-commit: 5f9e832c137075045d15cd6899ab0505cfb2ca4b

Signature · 1 line
Sent by a computer through tubes