Skip to content

0/6] arm64: meson-sm1: add support for DVFS

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 5 repliesIn review
  2. v2 posting 1/25 patches 8 repliesSuperseded
  3. v16 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- exposed GP1, DSU and CPU 1,2,3 clock in patch 1

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: clk: meson: add sm1 periph clock controller bindingsDocumentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt include/dt-bindings/clock/g12a-clkc.h+6 -00 replies
2/5clk: meson: g12a: add support for SM1 GP1 PLLdrivers/clk/meson/g12a.c drivers/clk/meson/g12a.h+310 -10 replies
3/5clk: meson: g12a: add support for SM1 DynamIQ Shared Unit clockdrivers/clk/meson/g12a.c drivers/clk/meson/g12a.h+198 -10 replies
4/5clk: meson: g12a: add support for SM1 CPU 1, 2 & 3 clocksdrivers/clk/meson/g12a.c drivers/clk/meson/g12a.h+61 -10 replies
5/5arm64: dts: meson-sm1-sei610: enable DVFSarch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts arch/arm64/boot/dts/amlogic/meson-sm1.dtsi+124 -41 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchKevin Hilman
1/5R-b
2/5
3/5
4/5
5/5R-b T-b

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

Read the v2 thread

Cover letter [PATCH v2 0/5] 0/6] arm64: meson-sm1: add support for DVFS

Following DVFS support for the Amlogic G12A and G12B SoCs, this serie enables DVFS on the SM1 SoC for the SEI610 board.

The SM1 Clock structure is slightly different because of the Cortex-A55 core used, having the capability for each core of a same cluster to run at a different frequency thanks to the newly used DynamIQ Shared Unit.

This is why SM1 has a CPU clock tree for each core and for DynamIQ Shared Unit, with a bypass mux to use the CPU0 instead of the dedicated trees.

The DSU uses a new GP1 PLL as default clock, thus GP1 is added as read-only.

The SM1 OPPs has been taken from the Amlogic Vendor tree, and unlike G12A only a single version of the SoC is available.

Dependencies:
- patch 6 is based on the "arm64: meson: add support for SM1 Power Domains" serie, but is not a strong dependency, it will work without

Changes since v1:
- exposed GP1, DSU and CPU 1,2,3 clock in patch 1

Neil Armstrong (5):
dt-bindings: clk: meson: add sm1 periph clock controller bindings
clk: meson: g12a: add support for SM1 GP1 PLL
clk: meson: g12a: add support for SM1 DynamIQ Shared Unit clock
clk: meson: g12a: add support for SM1 CPU 1, 2 & 3 clocks
arm64: dts: meson-sm1-sei610: enable DVFS

 .../bindings/clock/amlogic,gxbb-clkc.txt      |   1 +
 .../boot/dts/amlogic/meson-sm1-sei610.dts     |  59 +-
 arch/arm64/boot/dts/amlogic/meson-sm1.dtsi    |  69 +++
 drivers/clk/meson/g12a.c                      | 544 ++++++++++++++++++
 drivers/clk/meson/g12a.h                      |  24 +-
 include/dt-bindings/clock/g12a-clkc.h         |   5 +
 6 files changed, 697 insertions(+), 5 deletions(-)
Signature · 1 line
2.22.0