summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mmci_stm32_sdmmc.c
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2020-01-28 12:06:34 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-03-24 16:35:40 +0300
commit7577316528816e8e9a49c1b4b5822bacbc62d113 (patch)
tree3f85793c1eb4eb24c06cf282dfd5b36e81da91d0 /drivers/mmc/host/mmci_stm32_sdmmc.c
parent1103f807a3b9949c667939fed77d77f409029145 (diff)
downloadlinux-7577316528816e8e9a49c1b4b5822bacbc62d113.tar.xz
mmc: mmci: Add callbacks for to manage signal voltage switch
A variant may need to define some actions before and after a voltage switch. This patch adds 2 callbacks to manage signal voltage switch in the struct mmci_host_ops. ->pre_sig_volt_switch() allows to prepare a signal voltage switch before sending the SD_SWITCH_VOLTAGE command (CMD11). ->post_sig_volt_switch callback allows specific actions to be executed, after the I/O signal voltage level has been changed. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Link: https://lore.kernel.org/r/20200128090636.13689-8-ludovic.barre@st.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci_stm32_sdmmc.c')
0 files changed, 0 insertions, 0 deletions