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

From: Claudiu
Date: Thu Aug 21 2025 - 04:05:41 EST


From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>

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