Skip to contentSkip to conversation

clk: meson: amlogic updates for v6.18

GIT PULL Jerome Brunet 2 participants 2 messages Sep 15, 2025 – Sep 16, 2025

Subsystems (2)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

Hi Stephen,

Here are the Amlogic clock updates for v6.18.

This is mostly a clean up of pointless differences between the controllers which have been accumulated over the years. Hopefully, this will help with the maintenance and simplify the review of the incoming new controllers.

Overall, this is just simple stuff but since it touches every Amlogic controllers, the diff is fairly large.

Please pull
Cheers

Jerome

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

https://github.com/BayLibre/clk-meson.git tags/clk-meson-v6.18-1

for you to fetch changes up to 01f3a6d1d59b8e25a6de243b0d73075cf0415eaf:

clk: amlogic: c3-peripherals: use helper for basic composite clocks (2025-09-04 18:27:12 +0200)

----------------------------------------------------------------
Amlogic clock changes for v6.18

* Factorize clock controller probe functions
* Clean up peripheral clocks definitions
* Clean redundant composite clock definitions

----------------------------------------------------------------
Jerome Brunet (13):
clk: amlogic: naming consistency alignment
clk: amlogic: drop meson-clkcee
clk: amlogic: add probe helper for mmio based controllers
clk: amlogic: use probe helper in mmio based controllers
clk: amlogic: aoclk: use clkc-utils syscon probe
clk: amlogic: move PCLK definition to clkc-utils
clk: amlogic: drop CLK_SET_RATE_PARENT from peripheral clocks
clk: amlogic: pclk explicitly use CLK_IGNORE_UNUSED
clk: amlogic: introduce a common pclk definition
clk: amlogic: use the common pclk definition
clk: amlogic: add composite clock helpers
clk: amlogic: align s4 and c3 pwm clock descriptions
clk: amlogic: c3-peripherals: use helper for basic composite clocks

 drivers/clk/meson/Kconfig            |   13 +-
 drivers/clk/meson/Makefile           |    1 -
 drivers/clk/meson/a1-peripherals.c   |  995 +++++-----
 drivers/clk/meson/a1-pll.c           |  124 +-
 drivers/clk/meson/axg-aoclk.c        |  153 +-
 drivers/clk/meson/axg.c              |  237 +--
 drivers/clk/meson/c3-peripherals.c   | 2055 ++++++---------------
 drivers/clk/meson/c3-pll.c           |  245 ++-
 drivers/clk/meson/clk-regmap.h       |   20 -
 drivers/clk/meson/g12a-aoclk.c       |  238 +--
 drivers/clk/meson/g12a.c             | 3316 +++++++++++++++++-----------------
 drivers/clk/meson/gxbb-aoclk.c       |  123 +-
 drivers/clk/meson/gxbb.c             |  611 ++++---
 drivers/clk/meson/meson-aoclk.c      |   32 +-
 drivers/clk/meson/meson-aoclk.h      |    2 +-
 drivers/clk/meson/meson-clkc-utils.c |   86 +-
 drivers/clk/meson/meson-clkc-utils.h |   89 +
 drivers/clk/meson/meson-eeclk.c      |   60 -
 drivers/clk/meson/meson-eeclk.h      |   24 -
 drivers/clk/meson/meson8-ddr.c       |   62 +-
 drivers/clk/meson/meson8b.c          |  746 ++++----
 drivers/clk/meson/s4-peripherals.c   | 1160 ++++--------
 drivers/clk/meson/s4-pll.c           |   82 +-
 23 files changed, 4434 insertions(+), 6040 deletions(-)
 delete mode 100644 drivers/clk/meson/meson-eeclk.c
 delete mode 100644 drivers/clk/meson/meson-eeclk.h
maintainer
#1 lore raw

Quoting Jerome Brunet (2025-09-15 02:26:25)

Quoted 24 lines

Hi Stephen,

Here are the Amlogic clock updates for v6.18.

This is mostly a clean up of pointless differences between the controllers which have been accumulated over the years. Hopefully, this will help with the maintenance and simplify the review of the incoming new controllers.

Overall, this is just simple stuff but since it touches every Amlogic controllers, the diff is fairly large.

Please pull
Cheers

Jerome

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

Quoted 7 lines

https://github.com/BayLibre/clk-meson.git tags/clk-meson-v6.18-1

for you to fetch changes up to 01f3a6d1d59b8e25a6de243b0d73075cf0415eaf:

clk: amlogic: c3-peripherals: use helper for basic composite clocks (2025-09-04 18:27:12 +0200)

----------------------------------------------------------------

Thanks. Pulled into clk-next