[PATCH v2 0/3] mmc: renesas_sdhi: Handle resets

From: Claudiu

Date: Mon Nov 17 2025 - 05:19:03 EST


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

Hi,

Series adds suspend/resume hooks for the Renesas SDHI driver. These
are necessary on RZ/G3{E, S}, that supports a power saving mode where
power to most of the SoC components (including SDHI) is turned off.
Resume from this suspend mode is done with the help of bootloader
and it may choose to disable the SDHI clocks, resets after it is
done with the SDHIs.

Reset signal was deasserted/asserted on probe/remove as well to
avoid relying on previous bootloaders. This is also useful for
unbind/bind operations.

Along with it, driver was converted to use
SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() helpers.

Thank you,
Claudiu

Changes in v2:
- in patch 2/3 drop unnecessary code changes in tmio_mmc_core.c
- adjusted the patch description for patch 2/3
- collected tags

Claudiu Beznea (3):
mmc: renesas_sdhi: Deassert the reset signal on probe
mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS()
and pm_ptr()
mmc: renesas_sdhi: Add suspend/resume hooks

drivers/mmc/host/renesas_sdhi.h | 3 ++
drivers/mmc/host/renesas_sdhi_core.c | 39 ++++++++++++++++++-
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 12 +++---
drivers/mmc/host/tmio_mmc.h | 2 -
4 files changed, 46 insertions(+), 10 deletions(-)

--
2.43.0