Skip to content

clk: rockchip: fix handling of fractional dividers

Michael Turquette linux-arm-kernel linux-clk linux-rockchip 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

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/5] clk: rockchip: fix handling of fractional dividers
Quoted 7 lines · Heiko Stuebner

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.

Quoted 7 lines

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 :-)

Intermediate solution applied.

Regards,
Mike

Quoted 30 lines

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