Skip to content

ARM: rockchip: add cpuclk handling - clock-tree part

Mike Turquette linux-arm-kernel 1 version New

Get series with b4
b4 am 20140926233608.19023.74522@quantum

Versions newest first

  1. v4 Latest0 of 8 patches 0 repliesNew

Patches in v4 No applies recorded yet

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

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/8] ARM: rockchip: add cpuclk handling - clock-tree part

Quoting Heiko Stuebner (2014-09-26 11:53:03)

Quoted 13 lines

This series implements cpu frequency-scaling for Rockchip SoCs. The whole handling of the armclk frequency changes and therefore the implementention is very similar to the recent series for Samsung SoCs from Thomas Abraham.

Tested on a
- rk3066 Marsboard
- rk3188 Radxa Rock
- rk3288 Evaluation board

This is the part that would go through the clock tree and the patches are build against current clk-next.

Quoted 6 lines

-------
On the arm-soc side we would need the ARMCLK id in an exported branch from the clk tree so that the devicetree changes can use this new id. But as 3.17 is supposed to be released this weekend, the devicetree parts will maybe have to wait for 3.18-rc1 in any case.
-------

Series looks good to me. It seems like more rockchip clk patches are starting to flow in so it would be nice to set up pull requests for those. Heiko is listed as the maintainer, so I guess he will send them?

Thanks!
Mike

Quoted 49 lines

The series also is split, as clk-next and the arm-soc parts have diverged so much, that it's not possible to create one series against one tree and stay sane.

changes since v3:
- address more comments from Doug Anderson:
main change setting the dividers in the post_rate callback
- use __initdata for the rate tables
While it could use __initconst the current code causes a section type conflict with something else, so this could possibly be solved at a later time
changes since v2:
- add patch removing the pll clk-notifier
- in cpuclk do parent change and alt_div setting in one go changes since v1:
- address comments received concerning smaller issues
- split series into two, one for clk-next and one for arm-soc

Doug Anderson (1):
clk: rockchip: change pll rate without a clk-notifier

Heiko Stuebner (6):
clk: rockchip: fix rk3066 pll status register location
clk: rockchip: reparent aclk_cpu_pre to the gpll
clk: rockchip: make tightly bound armclk child-clocks read-only
clk: rockchip: add new clock-type for the cpuclk
clk: rockchip: add binding id for ARMCLK
clk: rockchip: switch to using the new cpuclk type for armclk

Jianqun (1):
clk: rockchip: fix rk3288 pll status register location

 drivers/clk/rockchip/Makefile                 |   1 +
 drivers/clk/rockchip/clk-cpu.c                | 329 ++++++++++++++++++++++++++
 drivers/clk/rockchip/clk-pll.c                |  63 +----
 drivers/clk/rockchip/clk-rk3188.c             | 161 +++++++++++--
 drivers/clk/rockchip/clk-rk3288.c             |  93 +++++++-
 drivers/clk/rockchip/clk.c                    |  20 ++
 drivers/clk/rockchip/clk.h                    |  36 +++
 include/dt-bindings/clock/rk3188-cru-common.h |   1 +
 include/dt-bindings/clock/rk3288-cru.h        |   1 +
 9 files changed, 627 insertions(+), 78 deletions(-)
 create mode 100644 drivers/clk/rockchip/clk-cpu.c
Signature · 1 line
2.1.0