Skip to content

Commit

Permalink
clk: meson: c3: pll: fix frac maximum value for hifi_pll
Browse files Browse the repository at this point in the history
The fractional denominator of C3's hifi_pll fractional multiplier is
fixed to 100000.

Fixes: 8a9a129 ("clk: meson: c3: add support for the C3 SoC PLL clock")
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20240909-fix_clk-v3-2-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 c939154 commit 6e442c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/meson/c3-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ static struct clk_regmap hifi_pll_dco = {
.range = &c3_gp0_pll_mult_range,
.init_regs = c3_hifi_init_regs,
.init_count = ARRAY_SIZE(c3_hifi_init_regs),
.frac_max = 100000,
},
.hw.init = &(struct clk_init_data) {
.name = "hifi_pll_dco",
Expand Down

0 comments on commit 6e442c2

Please sign in to comment.