From: Arnd Hannemann <arnd@arndnet.de>
To: Ohad Ben-Cohen <ohad@wizery.com>
Cc: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>
Subject: Re: [PATCH] [RFC] mmc: perform SDIO reset on power restore of host
Date: Wed, 29 Dec 2010 11:35:33 +0100 [thread overview]
Message-ID: <4D1B0EF5.4080206@arndnet.de> (raw)
In-Reply-To: <AANLkTikN1iJ8TftWK3NENVQWZCF5YY7sETSvknBr6sk9@mail.gmail.com>
Hi Ohad,
Am 28.12.2010 15:24, schrieb Ohad Ben-Cohen:
>>> Do you mean that your card is always powered on regardless of
>>> mmc_power_off() invocations ?
>>
>> Yes, it seems so.
>
> Ok, thanks for letting us know.
>
> It bothered me that we didn't understand the issue you had, but now it
> seems that MMC_CAP_POWER_OFF_CARD is the right solution for you as
> well.
>
>> Even if the card is kept powered, when mmc_power_off() is called, the
>> host controller will stop the SD bus clock. So I believe at least some
>> power is saved this way and MMC_CAP_POWER_OFF_CARD makes sense?
>
> Well, with some SDIO cards, the host controller can use the recently
> added aggressive clock gating framework to stop the clock on
> inactivity, and not wait until the card is powered off.
>
> Currently that clock gating framework is still disabled for SDIO
> cards, but this is just temporary until we sort out how to use it
> safely for SDIO as well.
So you suggest to don't set MMC_CAP_POWER_OFF_CARD for the boards which
keep the card powered, but instead wait for the clock gating framework?
> For example, the wl1271 card has asynchronous interrupts (via external
> irq) so we can safely stop its clock on inactivity.
>
> Do you know if that's possible with your card as well ?
I don't think so, the card is a normal SDIO card which plugs into a normal
MMC/SD slot, no extra pins or such. However SDIO IRQs are available, but you
don't mean that, do you?
Thanks,
Arnd
next prev parent reply other threads:[~2010-12-29 10:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 11:25 [PATCH] [RFC] mmc: perform SDIO reset on power restore of host Arnd Hannemann
2010-12-28 12:45 ` Ohad Ben-Cohen
2010-12-28 14:03 ` Arnd Hannemann
2010-12-28 14:24 ` Ohad Ben-Cohen
2010-12-29 10:35 ` Arnd Hannemann [this message]
2010-12-29 12:11 ` Ohad Ben-Cohen
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=4D1B0EF5.4080206@arndnet.de \
--to=arnd@arndnet.de \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ohad@wizery.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.