Skip to content

clk: meson: g12a: Add CPU Clock support

Neil Armstrong linux-amlogic linux-arm-kernel linux-clk linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- moved to clk_regmap_gate_ro_ops for R/O gates
- added comments with datasheet field names
- moved pribate bindings changes to driver patch
- removed invalid PCIE IDs

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: meson-g12a: add cpu clock bindingsinclude/dt-bindings/clock/g12a-clkc.h+1 -02 replies
2/2clk: meson: g12a: add cpu clocksdrivers/clk/meson/g12a.c drivers/clk/meson/g12a.h+371 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin BlumenstinglRob HerringJerome Brunet
SeriesA-b
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] clk: meson: g12a: Add CPU Clock support

This patchset adds support for the clock tree feeding the 4xCortex A53 cpu cluster.

This patchet does not handle clock changing, this will be added in a secondary patchset.

The CPU clock can either use the SYS_PLL for > 1GHz frequencies or use a couple of div+mux from 1GHz/667MHz/24MHz source with 2 non-glitch muxes.

The CPU clock must be switched to a safe clock while changing the clocks before the non-glitch muxes. Proper support will be added later.

In this patchset, clocks are set read-only.

Changes since v1:
- moved to clk_regmap_gate_ro_ops for R/O gates
- added comments with datasheet field names
- moved pribate bindings changes to driver patch
- removed invalid PCIE IDs

Neil Armstrong (2):
clk: meson-g12a: add cpu clock bindings
clk: meson: g12a: add cpu clocks

 drivers/clk/meson/g12a.c              | 350 ++++++++++++++++++++++++++
 drivers/clk/meson/g12a.h              |  22 +-
 include/dt-bindings/clock/g12a-clkc.h |   1 +
 3 files changed, 372 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1