[Linux-stm32] [PATCH 0/4] mmc: mmci: add busy detect for stm32 sdmmc variant
Ludovic Barre
ludovic.Barre at st.com
Tue Mar 5 16:10:01 UTC 2019
From: Ludovic Barre <ludovic.barre at st.com>
This patch series adds busy detect for stm32 sdmmc variant.
Some adaptations are required:
-Avoid to check and poll busy status when is not expected.
-Clear busy status bit if busy_detect_flag and busy_detect_mask are
different.
-Add hardware busy timeout with MMCIDATATIMER register.
Ludovic Barre (4):
mmc: mmci: avoid fake busy polling
mmc: mmci: fix clear of busy detect status
mmc: mmci: add hardware busy timeout feature
mmc: mmci: add busy detect for stm32 sdmmc variant
drivers/mmc/host/mmci.c | 67 +++++++++++++++++++++++++++++++++++++++----------
drivers/mmc/host/mmci.h | 3 +++
2 files changed, 57 insertions(+), 13 deletions(-)
--
2.7.4
More information about the Linux-stm32
mailing list