clk: renesas: rzg2l-cpg: Add support for RZ/V2L SoC
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 5 Feb 2022 08:40:06 +0000 (08:40 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 10 Feb 2022 13:34:58 +0000 (14:34 +0100)
commita1bcf50a99dd1e40f0c6a963bd4f12547a89d4cd
treea90d6bd381ba4a19c2e448c31010cc70b02b94d8
parentfbf4ae93c2bca96035b2c36f408b0616403ede10
clk: renesas: rzg2l-cpg: Add support for RZ/V2L SoC

The clock structure for RZ/V2L is almost identical to the RZ/G2L SoC.
The only difference being that RZ/V2L has additional registers to
control clocks and resets for the DRP-AI block.

Reuse r9a07g044-cpg.c, as the clock IDs and reset IDs are the same
between RZ/G2L and RZ/V2L, and add a separate r9a07g054_cpg_info to take
care of the DRP-AI clocks/resets.

Signed-off-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/20220205084006.7142-1-biju.das.jz@bp.renesas.com
Link: https://lore.kernel.org/r/20220209203411.22332-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/Kconfig
drivers/clk/renesas/Makefile
drivers/clk/renesas/r9a07g044-cpg.c
drivers/clk/renesas/rzg2l-cpg.c
drivers/clk/renesas/rzg2l-cpg.h