[PATCH 0/2] clk: renesas: rzg2l: Disable unused clocks after resume

Claudiu
2025-08-21T09:41:54Z

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

This series disables clocks that remain unused after resume.
This is necessary when the resume process is done with the help of the
bootloader, as the bootloader enables various clocks when returning from
resume.

On the RZ/G3S SoC (where this series was tested), the bootloader enables
the SDHI clocks (for all SDHI modules, of which 2 are used by Linux and
1 is unused) and the clocks for a serial IP (unused by Linux).

Testing was done on the RZ/G3S SMARC Carrier II board.

Thank you,
Claudiu Benea

Claudiu Beznea (2):
clk: Export clk_disable_unused()
clk: renesas: rzg2l: Register PM notifier to disable unused clocks

drivers/clk/clk.c | 9 +++++----
drivers/clk/renesas/rzg2l-cpg.c | 24 ++++++++++++++++++++++++
include/linux/clk.h | 12 ++++++++++++
3 files changed, 41 insertions(+), 4 deletions(-)

--
2.43.0