[PATCH v2 0/5] dmaengine: sh: rz-dmac: Add runtime PM support

Tommaso Merciai
2025-09-03T08:28:29Z

Dear All,

This patch series adds runtime PM support to the rz-dmac driver.
It also combines common code from rzg2l_cpg_assert() and rzg2l_cpg_deassert()
into a new __rzg2l_cpg_assert() helper to avoid code duplication,
and reworks __rzg2l_cpg_assert()/__rzv2h_cpg_assert() to return the state of
the assert/deassert operation.

Thanks & Regards,
Tommaso

v1->v2:
- Rebased on top of next-20250903
- Simplify polling condition and removed dev_warn() in __rzv2h_cpg_assert()
- Simplify polling condition and removed dev_warn() in __rzg2l_cpg_assert()
- Collected tags

Tommaso Merciai (5):
clk: renesas: rzg2l: Simplify rzg2l_cpg_assert() and
rzg2l_cpg_deassert()
clk: renesas: rzg2l: Re-assert reset on deassert timeout
clk: renesas: rzv2h: Re-assert reset on deassert timeout
clk: renesas: rzv2h: Simplify polling condition in
__rzv2h_cpg_assert()
dmaengine: sh: rz-dmac: Add runtime PM support

drivers/clk/renesas/rzg2l-cpg.c | 53 +++++++++++++-----------------
drivers/clk/renesas/rzv2h-cpg.c | 13 ++++++--
drivers/dma/sh/rz-dmac.c | 57 +++++++++++++++++++++++++++++----
3 files changed, 83 insertions(+), 40 deletions(-)

--
2.43.0