]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci_sdmmc: Implement signal voltage callbacks
authorLudovic Barre <ludovic.barre@st.com>
Tue, 28 Jan 2020 09:06:35 +0000 (10:06 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:40 +0000 (14:35 +0100)
commit53bcb740a7d86a4eda9ca08354b2f4ff7f14dfa4
tree7222639aafac922029c2a26a58b04c91b8d74b34
parent6df552bd16ebf9142f267096755f98defd281f3c
mmc: mmci_sdmmc: Implement signal voltage callbacks

To prepare the voltage switch procedure, the VSWITCHEN bit must be set
before sending the CMD11. To confirm completion of voltage switch, the
VSWEND flag must be checked.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Link: https://lore.kernel.org/r/20200128090636.13689-9-ludovic.barre@st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.h
drivers/mmc/host/mmci_stm32_sdmmc.c