diff options
author | 2024-09-09 18:08:58 +0800 | |
---|---|---|
committer | 2024-09-30 11:27:48 +0200 | |
commit | 5e052ef3c4001bf167735a944b1b09cdb10155e5 (patch) | |
tree | 0cc94081544f6734edf9668a4d8bc15e27c24547 | |
parent | clk: meson: c3: pll: fix frac maximum value for hifi_pll (diff) | |
download | wireguard-linux-5e052ef3c4001bf167735a944b1b09cdb10155e5.tar.xz wireguard-linux-5e052ef3c4001bf167735a944b1b09cdb10155e5.zip |
clk: meson: s4: pll: fix frac maximum value for hifi_pll
The fractional denominator of S4's hifi_pll fractional multiplier is
fixed to 100000.
Fixes: 80344f4c1a1e ("clk: meson: s4: pll: hifi_pll support fractional multiplier")
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20240909-fix_clk-v3-3-a6d8f6333c04@amlogic.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/clk/meson/s4-pll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/meson/s4-pll.c b/drivers/clk/meson/s4-pll.c index a97e19057b05..9697f6577e06 100644 --- a/drivers/clk/meson/s4-pll.c +++ b/drivers/clk/meson/s4-pll.c @@ -371,6 +371,7 @@ static struct clk_regmap s4_hifi_pll_dco = { .range = &s4_gp0_pll_mult_range, .init_regs = s4_hifi_init_regs, .init_count = ARRAY_SIZE(s4_hifi_init_regs), + .frac_max = 100000, .flags = CLK_MESON_PLL_ROUND_CLOSEST, }, .hw.init = &(struct clk_init_data){ |