[RFC PATCH v1 0/1] mmc: zynq_sdhci: Only evaluate card-stable signal if card was detected

lukas.funke-oss at weidmueller.com lukas.funke-oss at weidmueller.com
Wed Apr 24 10:23:41 CEST 2024


From: Lukas Funke <lukas.funke at weidmueller.com>


On ZynqMp there seems to be a dependency between the card-stable bit and
the card-detect bit. The card-stable bit is set *if and only if*
the card-detect bit was set before, indicating that the signal was
stable and reliable during card insertion.

If the card-detect bit is *not* evaluated the corresponding check leads
to a timeout indicating that the card-detect was not stable.

There was another patch that tried to mitigate this behaviour:

https://lore.kernel.org/u-boot/20230516142116.29996-1-stefan.herbrechtsmeier-oss@weidmueller.com/T/#m295a0158fe62da7289baa26bcd7272ad8598af56

However, the discussion stalled and the solution was not accepted. This
patch introduces another way to deal with the observed behaviour.



Lukas Funke (1):
  mmc: zynq_sdhci: Only evaluate card-stable signal if card was detected

 drivers/mmc/zynq_sdhci.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.30.2



More information about the U-Boot mailing list