]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: amlogic: drop CLK_SET_RATE_PARENT from peripheral clocks
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 25 Aug 2025 14:26:31 +0000 (16:26 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 4 Sep 2025 16:27:12 +0000 (18:27 +0200)
commitcf03071b7c3f1537dba21a64bcd1559b5201a156
tree61ec4da2677e3a6b1c7ded65d52abc47b88f8308
parent32ee5475f7e34fbd6539998a4e5f9bd05486672e
clk: amlogic: drop CLK_SET_RATE_PARENT from peripheral clocks

On Amlogic SoCs, the rate of a peripheral clock should not be changed,
let alone the rate of the parent PLL.

These clocks are meant to be used as provided by the parent PLL. Changing
the rate would be dangerous and would likely break a lot of devices running
from the same PLL.

Don't propagate any rate change request that may come from these clocks and
drop the corresponding flag.

Link: https://lore.kernel.org/r/20250825-meson-clk-cleanup-24-v2-6-0f402f01e117@baylibre.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson-clkc-utils.h