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)
commit94b94a93e3554f291316263a91ada93390befa83
tree7222639aafac922029c2a26a58b04c91b8d74b34
parent7577316528816e8e9a49c1b4b5822bacbc62d113
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