Skip to content

clk: xgene: Add PMD clock support

Hoan Tran linux-arm-kernel linux-clk linux-devicetree lkml 3 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesApplied
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3Documentation: dtb: xgene: Add PMD clock bindingDocumentation/devicetree/bindings/clock/xgene.txt+18 -01 reply
2/3clk: xgene: Add PMD clockdrivers/clk/clk-xgene.c+221 -02 replies
3/3arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocksarch/arm64/boot/dts/apm/apm-shadowcat.dtsi+56 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] clk: xgene: Add PMD clock support

Add X-Gene PMD clock support.

PMD clock is implemented for a single register field.
Output rate = parent_rate * (denominator - scale) / denominator
with
- denominator = bitmask of register field + 1
- scale = value of register field

For example, for bitmask is 0x7, denominator will be 8 and scale will be computed and programmed accordingly.

v3
* Minor changes on dt binding document.

v2
* Imply clock shift and width by the compatible string as Rob's comments

v1
* Initial

Hoan Tran (3):
Documentation: dtb: xgene: Add PMD clock binding
clk: xgene: Add PMD clock
arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocks

 Documentation/devicetree/bindings/clock/xgene.txt |  18 ++
 arch/arm64/boot/dts/apm/apm-shadowcat.dtsi        |  56 ++++++
 drivers/clk/clk-xgene.c                           | 221 ++++++++++++++++++++++
 3 files changed, 295 insertions(+)
Signature · 1 line
1.9.1