[PATCH 0/4] mmc: sdhci-esdhc-imx: fix SDIO suspend/resume issues

From: ziniu . wang_1

Date: Tue Jun 23 2026 - 03:33:45 EST


From: Luke Wang <ziniu.wang_1@xxxxxxx>

This series fixes several issues with SDIO devices that keep power
during system suspend on i.MX platforms.

Patch 1 removes unnecessary mmc_card_wake_sdio_irq() check from tuning
save/restore paths.

Patch 2 restores DLL override configuration for DDR modes on resume,
which is lost when sdhci_esdhc_imx_hwinit() clears ESDHC_DLL_CTRL.

Patch 3 restores pinctrl before pm_runtime_force_resume() to ensure
proper pin configuration before DDR_EN is set, avoiding CRC errors.

Patch 4 unconditionally disables usdhc interrupt during suspend to
prevent "irq xxx: nobody cared" warnings during resume.

Luke Wang (4):
mmc: sdhci-esdhc-imx: remove unnecessary mmc_card_wake_sdio_irq check
for tuning save/restore
mmc: sdhci-esdhc-imx: restore DLL override for DDR modes on resume
mmc: sdhci-esdhc-imx: restore pinctrl before restoring ios timing on
resume
mmc: sdhci-esdhc-imx: disable irq during suspend to fix unhandled
interrupt

drivers/mmc/host/sdhci-esdhc-imx.c | 57 ++++++++++++++++++++----------
1 file changed, 39 insertions(+), 18 deletions(-)

--
2.34.1