]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: sdhci_am654: Add sdhci_am654_start_signal_voltage_switch
authorJudith Mendez <jm@ti.com>
Fri, 13 Sep 2024 18:54:03 +0000 (13:54 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Oct 2024 10:29:00 +0000 (12:29 +0200)
commit941a7abd4666912b84ab209396fdb54b0dae685d
tree33fd697af89c9b13af269e2d98620ab4c7e9d833
parentcd068d51594d9635bf6688fc78717572b78bce6a
mmc: sdhci_am654: Add sdhci_am654_start_signal_voltage_switch

The sdhci_start_signal_voltage_switch function sets
V1P8_SIGNAL_ENA by default after switching to 1v8 signaling.
V1P8_SIGNAL_ENA determines whether to launch cmd/data on neg
edge or pos edge of clock.

Due to some eMMC and SD failures seen across am62x platform,
do not set V1P8_SIGNAL_ENA by default, only enable the bit
for devices that require this bit in order to switch to 1v8
voltage for uhs modes.

Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240913185403.1339115-1-jm@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c