]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2dd5a619634241d9f9fd73b5576ce761c49c911c
treea90d6bd381ba4a19c2e448c31010cc70b02b94d8
parent68e015aef6e8d188ed06c838f528bd97b6e13bbb
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