Skip to content

clk: mvebu: initial support for AP806 clocks

Thomas Petazzoni linux-arm-kernel linux-clk linux-devicetree 2 versions – New

Get series with b4
b4 am 1456326866-30854-1-git-send-email-thomas.petazzoni@free-electrons.com

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Introduce a minimal DT binding for the AP806 DFX Server register area, and make the clock DT nodes child nodes of the DFX server node. Implementation-wise, we use the simple-mfd/syscon mechanism.
- Separate the DT binding documentation into its own patches.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: arm/marvell: add DT bindings for AP806 DFX ServerDocumentation/devicetree/bindings/arm/marvell/marvell,ap806-dfx-server.txt+19 -01 reply
1/6dt-bindings: arm/marvell: add DT bindings for AP806 DFX Server+0 -02 replies
2/6dt-bindings: clock: add DT bindings for AP806 core clocksDocumentation/devicetree/bindings/clock/mvebu-armada-ap806-core-clock.txt+35 -00 replies
3/6dt-bindings: clock: add DT bindings for AP806 ring clocksDocumentation/devicetree/bindings/clock/mvebu-armada-ap806-ring-clock.txt+36 -00 replies
4/6clk: unconditionally recurse into clk/mvebu/drivers/clk/Makefile+1 -10 replies
5/6clk: mvebu: add AP806 core clock driverdrivers/clk/mvebu/Kconfig drivers/clk/mvebu/Makefile drivers/clk/mvebu/ap806-core.c+125 -10 replies
6/6clk: mvebu: add AP806 ring clock driverdrivers/clk/mvebu/Kconfig drivers/clk/mvebu/Makefile drivers/clk/mvebu/ap806-ring.c+78 -00 replies

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/6] clk: mvebu: initial support for AP806 clocks

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.

Changes since v1:
- Introduce a minimal DT binding for the AP806 DFX Server register area, and make the clock DT nodes child nodes of the DFX server node. Implementation-wise, we use the simple-mfd/syscon mechanism.
- Separate the DT binding documentation into its own patches.

Thanks!

Thomas

Thomas Petazzoni (6):
dt-bindings: arm/marvell: add DT bindings for AP806 DFX Server
dt-bindings: clock: add DT bindings for AP806 core clocks
dt-bindings: clock: add DT bindings for AP806 ring clocks
clk: unconditionally recurse into clk/mvebu/
clk: mvebu: add AP806 core clock driver
clk: mvebu: add AP806 ring clock driver

 .../arm/marvell/marvell,ap806-dfx-server.txt       |  19 ++++
 .../clock/mvebu-armada-ap806-core-clock.txt        |  35 ++++++
 .../clock/mvebu-armada-ap806-ring-clock.txt        |  36 ++++++
 drivers/clk/Makefile                               |   2 +-
 drivers/clk/mvebu/Kconfig                          |   6 +
 drivers/clk/mvebu/Makefile                         |   3 +-
 drivers/clk/mvebu/ap806-core.c                     | 121 +++++++++++++++++++++
 drivers/clk/mvebu/ap806-ring.c                     |  74 +++++++++++++
 8 files changed, 294 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,ap806-dfx-server.txt
 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
Signature · 1 line
2.6.4