All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.ml.walleij@gmail.com>
To: David Vrabel <david.vrabel@csr.com>
Cc: linux-mmc@vger.kernel.org, Ghorai Sukumar <s-ghorai@ti.com>,
	Chris Ball <cjb@laptop.org>, Nicolas Pitre <nico@fluxnic.net>,
	Adrian Hunter <adrian.hunter@nokia.com>
Subject: Re: [PATCH] MMC Agressive clocking framework v6
Date: Mon, 1 Nov 2010 16:24:40 +0100	[thread overview]
Message-ID: <AANLkTiki-PGJHMcrRCwA46W+-xmj+AdpxLMFdd2mfdhM@mail.gmail.com> (raw)
In-Reply-To: <4CCEA435.9030402@csr.com>

2010/11/1 David Vrabel <david.vrabel@csr.com>:
> On 29/10/2010 21:18, Linus Walleij wrote:
>> This patch modifies the MMC core code to optionally call the
>> set_ios() operation on the driver with the clock frequency set
>> to 0 (gate) after a grace period of at least 8 MCLK cycles, then
>> restore it (ungate) before any new request. This gives
>> the driver the option to shut down the MCI clock to the MMC/SD
>> card when the clock frequency is 0, i.e. the core has stated
>> that the MCI clock does not need to be generated.
>
> With SDIO cards, 1 bit mode needs to be set on the controller otherwise
> many controllers cannot detect card interrupts.

Do you mean generally, or just when disabling the clock?
I don't quite get this part...

> Also some v2.00 SDIO cards in 4-bit mode will not generate card
> interrupts unless they are clocked (the spec v2.00 doesn't require them
> to be able to but v3.00 does).

OK I think it is better to disable clocking off SDIO cards altogether
for now.

> I would suggest a white list of v2.00
> cards that can generate interrupts asynchronousy.

Hm... does people maintain such lists? Sounds tricksy.
Better avoid it for the time being.

Linus Walleij

  reply	other threads:[~2010-11-01 15:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 20:18 [PATCH] MMC Agressive clocking framework v6 Linus Walleij
2010-10-30  5:04 ` Kyungmin Park
2010-11-01 11:27 ` David Vrabel
2010-11-01 15:24   ` Linus Walleij [this message]
2010-11-01 15:27     ` David Vrabel

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=AANLkTiki-PGJHMcrRCwA46W+-xmj+AdpxLMFdd2mfdhM@mail.gmail.com \
    --to=linus.ml.walleij@gmail.com \
    --cc=adrian.hunter@nokia.com \
    --cc=cjb@laptop.org \
    --cc=david.vrabel@csr.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=nico@fluxnic.net \
    --cc=s-ghorai@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.