clk: meson: amlogic updates for v6.17
Subsystems (2)
Jerome Brunet
reviewerHi Stephen,
Here are the Amlogic clock updates for v6.17. This one is a bit larger than usual. It depends on the changes in your clk-hw-device branch and is based on it.
There is the conclusion of a long standing topic around reset drivers in clock, this time using the generic helper to create the auxiliary device.
There is also the beginning of clean up of the amlogic controllers with more coming in future releases.
Nothing is overly complicated in there but it makes quite a large diff since it touches all existing controllers.
Please pull.
Cheers
Jerome
The following changes since commit ac32d031f508e46c19ab38d6ba8b53fc28df9945:
clk: tests: add clk_hw_get_dev() and clk_hw_get_of_node() tests (2025-06-20 00:15:39 -0700)
are available in the Git repository at:
https://github.com/BayLibre/clk-meson.git tags/clk-meson-v6.17-1
for you to fetch changes up to 8a65268500b00ecee5402ef9f80618ff73f30707:
clk: amlogic: s4: remove unused data (2025-07-02 15:38:19 +0200)
----------------------------------------------------------------
Amlogic clock updates for v6.17
* Use the auxiliary reset controller implementation in the axg-audio, instead of implementing the reset controller in clock.
* Drop unnecessary clock controller headers
* Drop clock controller big regmap tables
----------------------------------------------------------------
Jerome Brunet (5):
clk: amlogic: axg-audio: use the auxiliary reset driver
clk: amlogic: remove unnecessary headers
clk: amlogic: get regmap with clk_regmap_init
clk: amlogic: drop clk_regmap tables
clk: amlogic: s4: remove unused data
drivers/clk/meson/Kconfig | 4 +- drivers/clk/meson/a1-peripherals.c | 194 ++---------- drivers/clk/meson/a1-peripherals.h | 46 --- drivers/clk/meson/a1-pll.c | 28 +- drivers/clk/meson/a1-pll.h | 28 -- drivers/clk/meson/axg-aoclk.c | 22 -- drivers/clk/meson/axg-audio.c | 603 +++++-------------------------------- drivers/clk/meson/axg-audio.h | 70 ----- drivers/clk/meson/axg.c | 218 ++++++-------- drivers/clk/meson/axg.h | 105 ------- drivers/clk/meson/c3-peripherals.c | 210 +------------ drivers/clk/meson/c3-pll.c | 32 +- drivers/clk/meson/clk-cpu-dyndiv.c | 1 + drivers/clk/meson/clk-dualdiv.c | 2 + drivers/clk/meson/clk-mpll.c | 6 + drivers/clk/meson/clk-phase.c | 11 + drivers/clk/meson/clk-pll.c | 7 + drivers/clk/meson/clk-regmap.c | 49 +++ drivers/clk/meson/clk-regmap.h | 4 + drivers/clk/meson/g12a-aoclk.c | 34 --- drivers/clk/meson/g12a.c | 372 +++++++---------------- drivers/clk/meson/g12a.h | 130 -------- drivers/clk/meson/gxbb-aoclk.c | 19 -- drivers/clk/meson/gxbb.c | 492 ++++++------------------------ drivers/clk/meson/gxbb.h | 115 ------- drivers/clk/meson/meson-aoclk.c | 5 +- drivers/clk/meson/meson-aoclk.h | 2 - drivers/clk/meson/meson-eeclk.c | 4 - drivers/clk/meson/meson-eeclk.h | 2 - drivers/clk/meson/meson8-ddr.c | 9 - drivers/clk/meson/meson8b.c | 267 ++++------------ drivers/clk/meson/meson8b.h | 80 ----- drivers/clk/meson/s4-peripherals.c | 388 +++--------------------- drivers/clk/meson/s4-peripherals.h | 56 ---- drivers/clk/meson/s4-pll.c | 60 ++-- drivers/clk/meson/s4-pll.h | 38 --- drivers/clk/meson/sclk-div.c | 5 + drivers/clk/meson/vclk.c | 2 + drivers/clk/meson/vid-pll-div.c | 1 + 39 files changed, 639 insertions(+), 3082 deletions(-) delete mode 100644 drivers/clk/meson/a1-peripherals.h delete mode 100644 drivers/clk/meson/a1-pll.h delete mode 100644 drivers/clk/meson/axg-audio.h delete mode 100644 drivers/clk/meson/axg.h delete mode 100644 drivers/clk/meson/g12a.h delete mode 100644 drivers/clk/meson/gxbb.h delete mode 100644 drivers/clk/meson/meson8b.h delete mode 100644 drivers/clk/meson/s4-peripherals.h delete mode 100644 drivers/clk/meson/s4-pll.h
Stephen Boyd
maintainerQuoting Jerome Brunet (2025-07-15 09:57:40)
Quoted 28 lines
Hi Stephen,
Here are the Amlogic clock updates for v6.17. This one is a bit larger than usual. It depends on the changes in your clk-hw-device branch and is based on it.
There is the conclusion of a long standing topic around reset drivers in clock, this time using the generic helper to create the auxiliary device.
There is also the beginning of clean up of the amlogic controllers with more coming in future releases.
Nothing is overly complicated in there but it makes quite a large diff since it touches all existing controllers.
Please pull.
CheersJerome
The following changes since commit
ac32d031f508e46c19ab38d6ba8b53fc28df9945:clk: tests: add
clk_hw_get_dev()andclk_hw_get_of_node()tests (2025-06-20 00:15:39 -0700)are available in the Git repository at:
Quoted 7 lines
https://github.com/BayLibre/clk-meson.git tags/clk-meson-v6.17-1
for you to fetch changes up to
8a65268500b00ecee5402ef9f80618ff73f30707:clk: amlogic: s4: remove unused data (2025-07-02 15:38:19 +0200)
----------------------------------------------------------------
Thanks. Pulled into to clk-next