mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Wappler Marcel" <Marcel.Wappler@bridgeco.net>
To: "Pierre Ossman" <drzeus-mmc@drzeus.cx>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: MMC: Card detection through pin CD/DAT3 issue
Date: Tue, 18 Mar 2008 13:24:33 +0100	[thread overview]
Message-ID: <83116F0A4FF67A4F97BA0B6E408C48E301DAB4DF@zuerich.BC-Int.NET> (raw)
In-Reply-To: <20080318122033.020b45b5@mjolnir.drzeus.cx>

Hi Pierre,

>> With this detection scheme I have some dificulties togehter
>> with the internal working of the current MMC stack:
>> The controller cannot detect a newly inserted card if the card power 
>> is switched of. This is due to the fact that the SD card applies the 
>> internal card detection pull up after it powered up. If there is no 
>> power -> no powering up -> no pull up. (besides the fact that a pull 
>> up needs power to for doing its work :-) )
>> 

> Then you have broken hardware. The specs clearly state that the 
> controller must be able to detect cards without powering up the
> cards. Also, the cards must implement the pull-up in a way that
> behaves like a resistor. So there should be no requirement for 
> full power there either.

I have found this requirement in the SD host controller spec:
"The card detect is active regardless of the SD Bus Power."

I wonder how the card should be able to pull up the CD/DAT3 Pad to VCC
if its only VCC pad is not connected to VCC due to the fact that the host
controller has switched off the cards power - any idea how this could be
managed?

There is a SD card spec section somewhere which statet that:
"If one of the supply pins (VDD or VSS) is not connected properly, then
the current is drawn through a data line to supply the card."

Maybe this is the key in understanding ho the pull up without VCC connected
works?

Thanks,
marcel

  reply	other threads:[~2008-03-18 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 10:59 Wappler Marcel
2008-03-18 11:20 ` Pierre Ossman
2008-03-18 12:24   ` Wappler Marcel [this message]
2008-03-18 12:47     ` Pierre Ossman
     [not found] <a8HRS-1KI-17@gated-at.bofh.it>
     [not found] ` <a8Ibj-2w0-17@gated-at.bofh.it>
     [not found]   ` <a8J7c-4QO-1@gated-at.bofh.it>
2008-03-18 23:08     ` Bodo Eggert
2008-03-19  8:41       ` Wappler Marcel
2008-03-20  7:27         ` Bodo Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83116F0A4FF67A4F97BA0B6E408C48E301DAB4DF@zuerich.BC-Int.NET \
    --to=marcel.wappler@bridgeco.net \
    --cc=drzeus-mmc@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®