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

Dmitry Rokosov ddrokosov at salutedevices.com
Wed Jan 22 03:27:03 PST 2025


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 at baylibre.com>

Reviewed-by: Dmitry Rokosov <ddrokosov at salutedevices.com>

For the A1 and AXG:
Tested-by: Dmitry Rokosov <ddrokosov at salutedevices.com>

> ---
>  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



More information about the linux-amlogic mailing list