]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: renesas: r8a779g0: Model PLL1/3/4/6 as fractional PLLs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 22 Jul 2024 11:50:31 +0000 (13:50 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 30 Jul 2024 08:44:18 +0000 (10:44 +0200)
commite1924c6cd148f49b3e3c7085906272b966163bc4
tree52b349faa34b3f11884a59d7847ee9de2e3c40ad
parente4915fc7ded539cc9197fe35da25003cd66533db
clk: renesas: r8a779g0: Model PLL1/3/4/6 as fractional PLLs

Currently, all PLLs but PLL2 are modelled as fixed divider clocks, based
on the state of the mode pins.  However, the boot loader stack may have
changed the actual PLL configuration from the default, leading to
incorrect clock frequencies.

Describe PLL1 as a fixed fractional PLL instead, and PLL2, PLL3, PLL4,
and PLL6 as variable fractional PLLs.

Reformat nearby lines to retain a consistent layout.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/b98523ed08de7386944c5ae860eae107dc28be3e.1721648548.git.geert+renesas@glider.be
drivers/clk/renesas/r8a779g0-cpg-mssr.c