clk: renesas: r9a07g044: Add clock and reset entries for CRU
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 21 Dec 2022 21:27:03 +0000 (21:27 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 12 Jan 2023 16:18:48 +0000 (17:18 +0100)
commita278d0c92be9d90307114b05c3edb1e7354d8412
tree077a7f3bfdaca11b471b8f7b5c198b2bfb012003
parentd969103ac89de797fda351aa984f69602b149a72
clk: renesas: r9a07g044: Add clock and reset entries for CRU

Add CRU clock and reset entries to CPG driver.

CRU_SYSCLK and CRU_VCLK clocks need to be turned ON/OFF in particular
sequence for the CRU block hence add these clocks to
r9a07g044_no_pm_mod_clks[] array and pass it as part of CPG data for
both RZ/G2L and RZ/V2L SoCs.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20221221212703.348278-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a07g044-cpg.c