Skip to content

clk: mvebu: initial support for AP806 clocks

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3clk: mvebu: add AP806 core clock driver+0 -03 replies
2/3clk: mvebu: add AP806 core clock driver+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/3] clk: mvebu: initial support for AP806 clocks

Thomas,

Quoted 14 lines · Michael Turquette

Hi Thomas,

Quoting Thomas Petazzoni (2016-02-14 23:34:55)

Quoted 11 lines

Hello,

The following set of patches add initial support for the main clocks found in the AP806 hardware block, which is the central block used in the newest Marvell 7K and 8K 64-bits processors.

Two new drivers are added, one for the so-called "core" clocks and one for the "ring" clocks. The latter are child clocks from one of the core clocks. The "core" clocks are fixed rate clocks, but their rate is calculated from values in the Sample At Reset register.

Quoted 7 lines
Quoted 2 lines

The support for the Marvell 7K/8K platform (Device Tree, etc.) will be submitted as a separate patch series.

Yay, new SoC! Just FYI, we worked out an agreement in December[0] that the clk git tree can take DT bindings and headers, and we'll always host them in an immutable branch by default in case arm-soc (or anyone else) needs them. Stephen and I are doing this now.

Oops, I misunderstood your point (and I should have looked at the patches before replying). The patches in this series do indeed have the clk DT binding descriptions.

Pardon the noise, nothing to see here, move along ;-)

Regards,
Mike

Quoted 35 lines

It's nice for us to review those bindings at the same time that we review the driver.

[0] http://lkml.kernel.org/r/<[email protected]>

Best regards,
Mike

Quoted 26 lines

Thanks!

Thomas

Thomas Petazzoni (3):
clk: unconditionally recurse into clk/mvebu/
clk: mvebu: add AP806 core clock driver
clk: mvebu: add AP806 ring clock driver

 .../clock/mvebu-armada-ap806-core-clock.txt        |  33 ++++++
 .../clock/mvebu-armada-ap806-ring-clock.txt        |  32 ++++++
 drivers/clk/Makefile                               |   2 +-
 drivers/clk/mvebu/Kconfig                          |   6 ++
 drivers/clk/mvebu/Makefile                         |   3 +-
 drivers/clk/mvebu/ap806-core.c                     | 112 +++++++++++++++++++++
 drivers/clk/mvebu/ap806-ring.c                     |  65 ++++++++++++
 7 files changed, 251 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/mvebu-armada-ap806-core-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/mvebu-armada-ap806-ring-clock.txt
 create mode 100644 drivers/clk/mvebu/ap806-core.c
 create mode 100644 drivers/clk/mvebu/ap806-ring.c

--
2.6.4

Signature · 4 lines
Michael Turquette
CEO
BayLibre - At the Heart of Embedded Linux
http://baylibre.com/