Re: [PATCH 0/4] mmc: mmci: add busy detect for stm32 sdmmc variant

From: Ludovic BARRE
Date: Thu Apr 11 2019 - 09:51:27 EST


hi Ulf

On 4/11/19 3:29 PM, Ulf Hansson wrote:
On Thu, 11 Apr 2019 at 14:37, Ludovic BARRE <ludovic.barre@xxxxxx> wrote:

Hi Ulf

Just a gentleman ping about this series.
I sent this series at same time of dt_mode
(no dependence between both).

Thanks for pinging.

It's been a busy period, with travels etc. I am just catching up on
everything and I will soon come back to this.

No problem, I saw lot of power group presentations at linaro connect :-)


I haven't tried to apply this on top of the other recent queued
changes for mmci, but perhaps you can check if a rebase is needed?

I try on the last mmc next, rebase, build and stm32mp157 test OK

Especially since I plan to run this on my ux500 board.

Kind regards
Uffe


BR
Ludo

On 3/5/19 5:10 PM, Ludovic Barre wrote:
From: Ludovic Barre <ludovic.barre@xxxxxx>

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(-)