clk: renesas: rzg2l: Add support for RZ/G3S PLL
Add support for reading the frequency of PLL1/4/6 as available on
RZ/G3S. The computation formula for the PLL frequency is as follows:
Fout = (nir + nfr / 4096) * Fin / (mr * pr)
Signed-off-by:
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by:
Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230929053915.1530607-8-claudiu.beznea@bp.renesas.com
Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be>
Loading
Please sign in to comment