mmc: mmci: stm32: add delay block support for STM32MP25
authorYann Gautier <yann.gautier@foss.st.com>
Mon, 19 Jun 2023 11:51:20 +0000 (13:51 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2023 09:44:40 +0000 (11:44 +0200)
commitb5c3eb3857976050cde3d7300015f3ab40bf27b1
tree4e5d61036808ee2ed7f8a802236ad9a658ec59da
parent83efc782dcb74a1289b2f390e1ab134d1e90085d
mmc: mmci: stm32: add delay block support for STM32MP25

On STM32MP25, the delay block is inside the SoC, and configured through
the SYSCFG registers. The algorithm is also different from what was in
STM32MP1 chip.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Link: https://lore.kernel.org/r/20230619115120.64474-7-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci_stm32_sdmmc.c