mmc: mmci_sdmmc: Add execute tuning with delay block
authorLudovic Barre <ludovic.barre@st.com>
Tue, 28 Jan 2020 09:06:33 +0000 (10:06 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:40 +0000 (14:35 +0100)
commit1103f807a3b9949c667939fed77d77f409029145
treef4b93f8ad75d1676fb3308a48a2508f3e2ec6da2
parente19c33dbfe95e1807be3eb6f252aa60ad5ace531
mmc: mmci_sdmmc: Add execute tuning with delay block

The hardware delay block is used to align the sampling clock on the data
received by SDMMC. It is mandatory for SDMMC to support the SDR104 mode.
The delay block is used to generate an output clock which is dephased from
the input clock.  The phase of the output clock must be programmed by the
execute tuning interface.

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