Skip to content

clk: rockchip: introduce a clock type for factor clocks

Heiko Stuebner linux-clk linux-rockchip 1 version Applied

Status from this message: applied all 3 to my clk-branch for 4.6

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3clk: rockchip: rk3036: fix parent of hclk_vcodecdrivers/clk/rockchip/clk-rk3036.c+1 -10 replies
2/3clk: rockchip: add a factor clock typedrivers/clk/rockchip/clk.c drivers/clk/rockchip/clk.h+81 -00 replies
3/3clk: rockchip: convert manually created factor clocks to the new typedrivers/clk/rockchip/clk-rk3036.c drivers/clk/rockchip/clk-rk3188.c drivers/clk/rockchip/clk-rk3228.c +2 more+29 -980 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] clk: rockchip: introduce a clock type for factor clocks

We're currently creating factor clocks manually during clock init. That worked well in the beginning, but since the rk3288 we also see combined gate-factor clocks and the overall number of factor clocks we create manually seems to be rising. And also sometimes created artificial separations that do not come from the clock hirarchy.

So I finished something I started some 6 months ago to finally be able to model factor clocks inside the clock-tree where they belong.

Heiko Stuebner (3):
clk: rockchip: rk3036: fix parent of hclk_vcodec
clk: rockchip: add a factor clock type
clk: rockchip: convert manually created factor clocks to the new type

 drivers/clk/rockchip/clk-rk3036.c | 32 ++++++-----------------
 drivers/clk/rockchip/clk-rk3188.c | 10 +++-----
 drivers/clk/rockchip/clk-rk3228.c | 33 +++++-------------------
 drivers/clk/rockchip/clk-rk3288.c | 23 +++++------------
 drivers/clk/rockchip/clk-rk3368.c | 29 ++++++---------------
 drivers/clk/rockchip/clk.c        | 53 +++++++++++++++++++++++++++++++++++++++
 drivers/clk/rockchip/clk.h        | 28 +++++++++++++++++++++
 7 files changed, 110 insertions(+), 98 deletions(-)
Signature · 1 line
2.6.4