Thank you, Pierre,
this special host controller is more an SDHCI _inspired_ than a
_compliant_ one. Not only powering off the card bus led to the not
working card detection but also the RESET_ALL function. Both
tasks are reqired by the SDHCI standard after removing the card.
But Pierre has prepared the sdhci.c very well: there is a quirk
called "SSM_QUIRK_NO_CARD_NO_RESET". In combination with disabling
power off after a card removal now it works.
Bodo Eggert wrote:
I am concerned that in this case there would be neither a pull
up nor a pull down at this signal. Due to floating gates that input
could lead to millions of "card detection" events a second, if
no card is inserted?
Regards,
Marcel
Marcel Wappler
Bridgeco AG
CH-8600 Dübendorf
Switzerland
--