Thread (9 messages) 9 messages, 4 authors, 2025-02-27

Re: [PATCH v3 3/4] clk: amlogic: drop clk_regmap tables

From: Dmitry Rokosov <hidden>
Date: 2025-01-22 11:27:13
Also in: linux-amlogic, linux-clk, lkml

On Mon, Jan 20, 2025 at 06:15:32PM +0100, Jerome Brunet wrote:
Remove the clk_regmap tables that are used to keep track which clock
need to be initialised before being registered. The initialisation is now
done by the .init() operation of clk_regmap.

This rework saves a bit memory and makes maintenance a bit easier.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Dmitry Rokosov <redacted>

For the A1 and AXG:
Tested-by: Dmitry Rokosov <redacted>
---
 drivers/clk/meson/a1-peripherals.c | 163 +-------------
 drivers/clk/meson/a1-pll.c         |  16 +-
 drivers/clk/meson/axg-aoclk.c      |  22 --
 drivers/clk/meson/axg-audio.c      | 433 -------------------------------------
 drivers/clk/meson/axg.c            | 131 -----------
 drivers/clk/meson/c3-peripherals.c | 210 +-----------------
 drivers/clk/meson/c3-pll.c         |  32 +--
 drivers/clk/meson/g12a-aoclk.c     |  34 ---
 drivers/clk/meson/g12a.c           | 261 ----------------------
 drivers/clk/meson/gxbb-aoclk.c     |  19 --
 drivers/clk/meson/gxbb.c           | 393 ---------------------------------
 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        | 200 -----------------
 drivers/clk/meson/s4-peripherals.c | 229 --------------------
 drivers/clk/meson/s4-pll.c         |  31 ---
 19 files changed, 5 insertions(+), 2191 deletions(-)
[...]
-- 
Thank you,
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help