Skip to content

clk: rockchip: fix handling of fractional dividers

Heiko Stuebner linux-arm-kernel linux-clk linux-rockchip 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- rebase original 3 patches onto 4.4
- add the 2 new patches from other series, that need that change

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: add flag for clocks that need to be enabled on rate changesdrivers/clk/clk.c include/linux/clk-provider.h+19 -00 replies
2/5clk: rockchip: handle mux dependency of fractional dividersdrivers/clk/rockchip/clk.c drivers/clk/rockchip/clk.h+142 -140 replies
3/5clk: rockchip: include downstream muxes into fractional dividersdrivers/clk/rockchip/clk-rk3188.c drivers/clk/rockchip/clk-rk3288.c+74 -720 replies
4/5clk: rockchip: rk3036: include downstream muxes into fractional dividersdrivers/clk/rockchip/clk-rk3036.c+17 -170 replies
5/5clk: rockchip: Allow the RK3288 SPDIF clocks to change their parentdrivers/clk/rockchip/clk-rk3288.c+8 -80 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchSjoerd Simons
1/5T-b R-b
2/5T-b R-b
3/5T-b R-b
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] clk: rockchip: fix handling of fractional dividers

Essentially unchanged from the first iteration from back in august, just including additional patches depending on that and fixing fractional dividers on the rk3036 and spdif parent settings.

In v1, Stephen seemed essentially ok with it but Mike put forward his wish to use his planned approach for connected clocks for handling this.

While that in itself will be very interesting also for handling Rockchip's armclk generically, we're now in the situation that everything related to audio output relies on working fractional dividers to produce the needed clock frequencies, making audio-output essentially non-working on all Rockchip socs in mainline at the moment.

So I'm somewhat hoping for some sort of intermediate solution here :-)

changes in v2:
- rebase original 3 patches onto 4.4
- add the 2 new patches from other series, that need that change

Heiko Stuebner (3):
clk: add flag for clocks that need to be enabled on rate changes
clk: rockchip: handle mux dependency of fractional dividers
clk: rockchip: include downstream muxes into fractional dividers

Sjoerd Simons (1):
clk: rockchip: Allow the RK3288 SPDIF clocks to change their parent

Xing Zheng (1):
clk: rockchip: rk3036: include downstream muxes into fractional
dividers

 drivers/clk/clk.c                 |  18 +++++
 drivers/clk/rockchip/clk-rk3036.c |  34 +++++-----
 drivers/clk/rockchip/clk-rk3188.c |  80 +++++++++++-----------
 drivers/clk/rockchip/clk-rk3288.c |  70 +++++++++----------
 drivers/clk/rockchip/clk.c        | 137 ++++++++++++++++++++++++++++++++++----
 drivers/clk/rockchip/clk.h        |  19 ++++++
 include/linux/clk-provider.h      |   1 +
 7 files changed, 254 insertions(+), 105 deletions(-)
Signature · 1 line
2.6.4