Skip to content

Commit

Permalink
clk: meson: s4: pll: fix frac maximum value for hifi_pll
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chuan Liu authored and Jerome Brunet committed Sep 30, 2024
1 parent 6e442c2 commit 5e052ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/meson/s4-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 5e052ef

Please sign in to comment.