[RFC PATCH 0/2] clk: renesas: RZ/G2L: Add support for no PM clocks

From: Prabhakar
Date: Tue Sep 27 2022 - 16:31:11 EST


From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Hi All,

This patch series adds support for indicating MOD clocks as no PM (if any).
Patch#1 adds DEF_NO_PM() macro to flagup no PM clock and patch #2 switches
sysclk and vclk clocks to no PM.

Sending it as an RFC as there wasn't any way we could obtain the priv data
due to which I had to create a static global var for rzg2l_cpg_priv.

Cheers,
Prabhakar

Lad Prabhakar (2):
clk: renesas: rzg2l: Don't assume all CPG_MOD clocks support PM
clk: renesas: r9a07g044: Mark CRU_SYSCLK and CRU_VCLK as no PM

drivers/clk/renesas/r9a07g044-cpg.c | 4 ++--
drivers/clk/renesas/rzg2l-cpg.c | 35 +++++++++++++++++++++++++----
drivers/clk/renesas/rzg2l-cpg.h | 12 +++++++---
3 files changed, 42 insertions(+), 9 deletions(-)

--
2.25.1