clk: renesas: r9a07g044: Add ethernet clock sources
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 22 Sep 2021 15:51:43 +0000 (16:51 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 24 Sep 2021 13:11:05 +0000 (15:11 +0200)
commit70a4af3662e073768a68a7ed5a82f49677cbde0c
tree0eb086f73beb58388ab1de4abd82f4caeeb1ef17
parent7c5a2561737d88b55764034b27f897498e90a319
clk: renesas: r9a07g044: Add ethernet clock sources

Ethernet reference clock can be sourced from PLL5_FOUT3 or PLL6. Add
support for ethernet source clock selection using SEL_PLL_6_2 mux.

This patch also renames the PLL5_DIV2 core clock to PLL5_250 to match
with the register description as mentioned in RZ/G2L HW manual (Rev.1.00).

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20210922155145.28156-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a07g044-cpg.c
drivers/clk/renesas/rzg2l-cpg.h