]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: renesas_sdhi: Add suspend/resume hooks
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Mon, 17 Nov 2025 10:12:42 +0000 (12:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Nov 2025 15:28:54 +0000 (16:28 +0100)
commitdcbce328d3a2d87770133834210cf328c083d480
treefc6ca73a1a19b4a99dfc292427b5472a28f01b4f
parent50371ef025a433f782c04dfdd3b59251831a8be3
mmc: renesas_sdhi: Add suspend/resume hooks

Add suspend/resume hooks which assert/deassert the reset signals, along
with forcing runtime suspend/resume. This allows using the driver in
scenarios where the resume is done with the help of bootloader and the
bootloader disables the SDHI clocks, resets, IRQs before passing execution
to Linux.

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c