Skip to content

core, cpu and gated clocks for mvebu

Thomas Petazzoni linux-arm-kernel linux-devicetree lkml 1 version New

Get series with b4
b4 am 20121115225425.6230f370@skate

Versions newest first

  1. v1 Latest4 of 7 patches 0 repliesNew

4 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/7clk: mvebu: add armada-370-xp CPU specific clocks+0 -00 replies
3/7clk: armada-370-xp: add support for clock framework+0 -00 replies
4/7clocksource: time-armada-370-xp converted to clk framework+0 -00 replies
6/7ARM: dove: switch to DT clock providers+0 -00 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/7] core, cpu and gated clocks for mvebu

Dear Andrew Lunn,

Quoted 15 lines · Andrew Lunn

This patchset combines code from Gregory Clement, Sebastian Hesselbarth and myself to implement core clks, cpu clock and gated clocks on Marvel MVEBU SoCs.

The Armada 370/XP core clock code is a refactored version of the already submitted and ACKed code from Gregory. It has been made to fit inside a framework developed by Sebastian which can handle all MVEBU SoCs. The Armarda 370/XP SoCs have more core clocks than the older SoCs, and the framework needs to handle this. Rather than specify the clock frequencies in DT, a Sample At Reset register is used, which describes each core clock frequency.

Armarda XP is an SMP processor, with each CPU having its own clock. Gregories code for this has been taken as is.

Quoted 8 lines

The Armarda 370/XP clock source has been converted to the common clock framework.

Dove, Kirkword, and probably Armarda 370/XP have the ability to gate clocks to various blocks. A clk-gate clock is created for each of the gateable clocks on Dove and Kirkwood. Armarda 370/XP clock gates are currently unimplemented. Dove and Kirkwood board-dt.c and DT descriptions are then modified to make use of these clk gates.

I had a quick look and made a few comments, but overall, it looks really great. I really hope we can get this in 3.8.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com