]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: amlogic: introduce a common pclk definition
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 25 Aug 2025 14:26:33 +0000 (16:26 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 4 Sep 2025 16:27:12 +0000 (18:27 +0200)
commitaaee6f3bce3fe11ecdb7357a4b5a620205c4ecea
tree4f041a27ff646972dc393bbc4c4011ffac8cdb0e
parentc3f369363a138638edd33a6f2fa97b6770a97c96
clk: amlogic: introduce a common pclk definition

All Amlogic peripheral clocks are more or less the same. The only thing
that differs is the parent data.

Adapt the common pclk definition so it takes clk_parent_data and can be
used by all controllers.

Reviewed-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20250825-meson-clk-cleanup-24-v2-8-0f402f01e117@baylibre.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/a1-peripherals.c
drivers/clk/meson/axg.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c
drivers/clk/meson/meson-clkc-utils.h
drivers/clk/meson/meson8b.c
drivers/clk/meson/s4-peripherals.c