[PATCH 0/2] mmc: Add post-power-off-delay-ms support

From: Judith Mendez

Date: Thu Jul 16 2026 - 19:28:27 EST


This series adds post-power-off-delay-ms support for MMC controllers,
enabling boards to specify custom delays after MMC power off to work around
hardware issues such as slow RC circuites on MMC VDD rails.

Rather than adding host driver-specific workarounds, we abstract the
implementation into the MMC core and pickup the delay value with a device
tree property (post-power-off-delay-ms). This allows any board with slow
power off requirements to configure the necessary delay without code
changes.

Requesting comments for how big the delay should be maxed at, currently
it is set to 10000ms, but not sure if this is too high.

The solution is minimal and follows existing patterns as with
(post-power-on-delay-ms).

Judith Mendez (2):
dt-bindings: mmc: Add post-power-off-delay-ms property
mmc: core: Add post-power-off-delay-ms support

.../devicetree/bindings/mmc/mmc-controller-common.yaml | 8 ++++++++
drivers/mmc/core/core.c | 8 ++++++--
drivers/mmc/core/host.c | 8 ++++++++
include/linux/mmc/host.h | 1 +
4 files changed, 23 insertions(+), 2 deletions(-)

--
2.54.0