]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: host: Wait for Vdd to settle on card power off
authorErick Shepherd <erick.shepherd@ni.com>
Fri, 14 Mar 2025 19:50:21 +0000 (14:50 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 20 Mar 2025 14:07:38 +0000 (15:07 +0100)
commit31e75ed964582257f59156ce6a42860e1ae4cc39
tree7431cb85efde3a44d317ba5a7d7a64b9bd144615
parentf4dfef81e97170276958ca976ad16575b8b12682
mmc: host: Wait for Vdd to settle on card power off

The SD spec version 6.0 section 6.4.1.5 requires that Vdd must be
lowered to less than 0.5V for a minimum of 1 ms when powering off a
card. Increase wait to 15 ms so that voltage has time to drain down
to 0.5V and cards can power off correctly. Issues with voltage drain
time were only observed on Apollo Lake and Bay Trail host controllers
so this fix is limited to those devices.

Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250314195021.1588090-1-erick.shepherd@ni.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c