From: Ludovic Barre <ludovic.barre@xxxxxx>
This patch series adds busy detect for stm32 sdmmc variant.
Some adaptations are required:
-Clear busy status bit if busy_detect_flag and busy_detect_mask are
different.
-Add hardware busy timeout with MMCIDATATIMER register.
V3:
-rebase on latest mmc next
-replace re-read by status parameter.
V2:
-mmci_cmd_irq cleanup in separate patch.
-simplify the busy_detect_flag exclude
-replace sdmmc specific comment in
"mmc: mmci: avoid fake busy polling in mmci_irq"
to focus on common behavior
Ludovic Barre (3):
mmc: mmci: fix read status for busy detect
mmc: mmci: add hardware busy timeout feature
mmc: mmci: add busy detect for stm32 sdmmc variant
drivers/mmc/host/mmci.c | 49 +++++++++++++++++++++++++++++++++++++++++--------
drivers/mmc/host/mmci.h | 3 +++
2 files changed, 44 insertions(+), 8 deletions(-)