mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Wappler Marcel <Marcel.Wappler@bridgeco.net>
Cc: 7eggert@gmx.de, Pierre Ossman <drzeus-mmc@drzeus.cx>,
	linux-kernel@vger.kernel.org
Subject: RE: MMC: Card detection through pin CD/DAT3 issue
Date: Thu, 20 Mar 2008 08:27:13 +0100 (CET)	[thread overview]
Message-ID: <alpine.LSU.0.999.0803200812510.2582@be1.lrz> (raw)
In-Reply-To: <83116F0A4FF67A4F97BA0B6E408C48E301DAB652@zuerich.BC-Int.NET>

On Wed, 19 Mar 2008, Wappler Marcel wrote:
> Bodo Eggert wrote:

> >> 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?
>  
> > If the VCC pin is connected to 0 V, the "pullup" will pull 
> > down to 0V. 
> > If the controller reverses it's logic while VCC=0, it might work.
> 
> 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

As long as no card is inserted, the pin on the controller would be floating 
and generating the same amount of interrupts, unless there is a (weak)
internal pulldown. You can do the same for the reversed logic, using
an internal pullup and abusing the card's pullup as a pulldown.

-- 
Never forget that your weapon is made by the lowest bidder.

  reply	other threads:[~2008-03-20  7:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2008-03-18 10:59 Wappler Marcel
2008-03-18 11:20 ` Pierre Ossman
2008-03-18 12:24   ` Wappler Marcel
2008-03-18 12:47     ` Pierre Ossman

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=alpine.LSU.0.999.0803200812510.2582@be1.lrz \
    --to=7eggert@gmx.de \
    --cc=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®