]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: meson: Support PLL with fixed fractional denominators
authorChuan Liu <chuan.liu@amlogic.com>
Mon, 9 Sep 2024 10:08:56 +0000 (18:08 +0800)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 30 Sep 2024 09:27:36 +0000 (11:27 +0200)
commitc939154e8417d5e04865ff0e45ec8e78592b262d
tree5570bcbb53ce1cc7c26d6a605b894c70e7fd0c53
parenteb61a126499019ecd688b2978fd6e1fcdfebe58a
clk: meson: Support PLL with fixed fractional denominators

Some PLLS with fractional multipliers have fractional denominators with
fixed values, instead of the previous "(1 << pll-> frc.width)".

Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20240909-fix_clk-v3-1-a6d8f6333c04@amlogic.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c
drivers/clk/meson/clk-pll.h