]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: meson: add 'NOINIT_ENABLED' flag to eliminate init for enabled PLL
authorDmitry Rokosov <ddrokosov@salutedevices.com>
Wed, 15 May 2024 18:47:24 +0000 (21:47 +0300)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 10 Jun 2024 10:16:01 +0000 (12:16 +0200)
commitd4c83ac16c6532bda5d9a9d95a30b7dfff494b43
tree3a90900de71b4db8067ec10984246333348fcdc9
parentf06ac3ed04e877cc424f150700b582d0b2ee5b44
clk: meson: add 'NOINIT_ENABLED' flag to eliminate init for enabled PLL

When dealing with certain PLLs, it is necessary to avoid modifying them
if they have already been initialized by lower levels. For instance, in
the A1 SoC Family, the sys_pll is enabled as the parent for the cpuclk,
and it cannot be disabled during the initialization sequence. Therefore,
initialization phase must be skipped.

Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Link: https://lore.kernel.org/r/20240515185103.20256-2-ddrokosov@salutedevices.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c
drivers/clk/meson/clk-pll.h