linux-yocto/drivers/mmc
Erick Shepherd a068093dd5 mmc: sdhci: Disable SD card clock before changing parameters
[ Upstream commit fb3bbc46c9 ]

Per the SD Host Controller Simplified Specification v4.20 §3.2.3, change
the SD card clock parameters only after first disabling the external card
clock. Doing this fixes a spurious clock pulse on Baytrail and Apollo Lake
SD controllers which otherwise breaks voltage switching with a specific
Swissbit SD card.

Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250211214645.469279-1-erick.shepherd@ni.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:37:01 +02:00
..
core mmc: core: Respect quirk_max_rate for non-UHS SDIO card 2025-03-13 12:47:01 +01:00
host mmc: sdhci: Disable SD card clock before changing parameters 2025-06-04 14:37:01 +02:00
Kconfig
Makefile