]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: mediatek: clk-pll: Add ops for PLLs using set/clr regs and FENC
authorLaura Nao <laura.nao@collabora.com>
Mon, 15 Sep 2025 15:19:22 +0000 (17:19 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sun, 21 Sep 2025 16:33:42 +0000 (09:33 -0700)
commit2c327a17718d8d6e7e79c2ab73ea6073aae9f22d
tree6a8a9a8b3cf808ede1bb9a084423aeb28bfaa6e8
parentaee9ffa010e9b06f4138c6575a9318422ac32fc3
clk: mediatek: clk-pll: Add ops for PLLs using set/clr regs and FENC

MT8196 uses a combination of set/clr registers to control the PLL
enable state, along with a FENC bit to check the preparation status.
Add new set of PLL clock operations with support for set/clr enable and
FENC status logic.

Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Laura Nao <laura.nao@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-pll.c
drivers/clk/mediatek/clk-pll.h