linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: renesas: RZ/G2L: Add support for no PM clocks
@ 2022-10-26  1:42 Prabhakar
  2022-10-26  1:42 ` [PATCH v2 1/2] clk: renesas: rzg2l: Don't assume all CPG_MOD clocks support PM Prabhakar
  2022-10-26  1:42 ` [PATCH v2 2/2] clk: renesas: r9a07g044: Add CRU_SYSCLK and CRU_VCLK to no PM list Prabhakar
  0 siblings, 2 replies; 7+ messages in thread
From: Prabhakar @ 2022-10-26  1:42 UTC (permalink / raw)
  To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd
  Cc: linux-renesas-soc, linux-clk, linux-kernel, Prabhakar, Biju Das,
	Lad Prabhakar

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This patch series adds support for indicating MOD clocks as no PM
(if any). SoCs indicate no PM clocks by adding to no_pm_mod_clks[]
array.

Note this patch applies on top of [0] (rebased on renesas-clk-for-v6.2
branch).

[0] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20221026012123.159790-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

v1 -> v2
* Dropped DEF_NO_PM() macro
* Added genpd member to struct rzg2l_cpg_priv
* Added no_pm_mod_clks and num_no_pm_mod_clks members
  to struct rzg2l_cpg_info
* Updated commit messages

RFC->v1
* Added no_pm_mod_clks and num_no_pm_mod_clks members as part of
  struct rzg2l_cpg_priv so that we dont loop the entire mod clocks
  array for each device probe.
* Patch#2 unchanged

RFC: https://patchwork.kernel.org/project/linux-renesas-soc/cover/20220927203044.751611-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

Cheers,
Prabhakar

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

 drivers/clk/renesas/r9a07g044-cpg.c | 13 ++++++++++
 drivers/clk/renesas/rzg2l-cpg.c     | 37 ++++++++++++++++++-----------
 drivers/clk/renesas/rzg2l-cpg.h     |  4 ++++
 3 files changed, 40 insertions(+), 14 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-26  9:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26  1:42 [PATCH v2 0/2] clk: renesas: RZ/G2L: Add support for no PM clocks Prabhakar
2022-10-26  1:42 ` [PATCH v2 1/2] clk: renesas: rzg2l: Don't assume all CPG_MOD clocks support PM Prabhakar
2022-10-26  7:56   ` Geert Uytterhoeven
2022-10-26  8:48     ` Lad, Prabhakar
2022-10-26  1:42 ` [PATCH v2 2/2] clk: renesas: r9a07g044: Add CRU_SYSCLK and CRU_VCLK to no PM list Prabhakar
2022-10-26  7:58   ` Geert Uytterhoeven
2022-10-26  9:02     ` Lad, Prabhakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).