Skip to content

Commit b289cde

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3
As per the HW manual (Rev.1.00 Sep, 2021) PLL2 and PLL3 should be 1600 MHz, but with current multiplier and divider values this resulted to 1596 MHz. This patch updates the multiplier and divider values for PLL2 and PLL3 so that we get the exact (1600 MHz) values. Fixes: 17f0ff3 ("clk: renesas: Add support for R9A07G044 SoC") Suggested-by: Biju Das <biju.das.jz@bp.renesas.com> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20211223093223.4725-1-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent d843e61 commit b289cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ static const struct cpg_core_clk r9a07g044_core_clks[] __initconst = {
8888
DEF_FIXED(".osc", R9A07G044_OSCCLK, CLK_EXTAL, 1, 1),
8989
DEF_FIXED(".osc_div1000", CLK_OSC_DIV1000, CLK_EXTAL, 1, 1000),
9090
DEF_SAMPLL(".pll1", CLK_PLL1, CLK_EXTAL, PLL146_CONF(0)),
91-
DEF_FIXED(".pll2", CLK_PLL2, CLK_EXTAL, 133, 2),
92-
DEF_FIXED(".pll3", CLK_PLL3, CLK_EXTAL, 133, 2),
91+
DEF_FIXED(".pll2", CLK_PLL2, CLK_EXTAL, 200, 3),
92+
DEF_FIXED(".pll3", CLK_PLL3, CLK_EXTAL, 200, 3),
9393
DEF_FIXED(".pll3_400", CLK_PLL3_400, CLK_PLL3, 1, 4),
9494
DEF_FIXED(".pll3_533", CLK_PLL3_533, CLK_PLL3, 1, 3),
9595

0 commit comments

Comments
 (0)