From: NeilBrown <neil@brown.name>
To: Ulf Hansson <ulf.hansson@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>
Subject: [PATCH/RFC 0/4] Use runtime-pm to switch sdio to 1-bit when idle
Date: Wed, 25 Mar 2015 07:56:10 +1100 [thread overview]
Message-ID: <20150324205316.20572.30538.stgit@notabene.brown> (raw)
This is a proof-of-concept hack to demonstrate what I was
trying to describe earlier.
The last patch, in particular, takes some very ugly short-cuts
which I would never dream of proposing for upstream inclusion.
It seems to work, but I haven't tested thoroughly. I may not even be
doing what I think it is doing...
Comments?
Thanks,
NeilBrown
---
NeilBrown (4):
mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.
mmc/core: add pm_runtime tracking to mmc_host devices.
mmc/sdio: keep device awake when interrupts expected in 4bit mode
mmc/host: use runtime_pm to switch to 1-bit mode
drivers/mmc/core/core.c | 5 +++
drivers/mmc/core/host.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++-
drivers/mmc/core/sdio.c | 41 +++++++++++--------------
3 files changed, 100 insertions(+), 24 deletions(-)
--
Signature
next reply other threads:[~2015-03-24 21:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 20:56 NeilBrown [this message]
2015-03-24 20:56 ` [PATCH 2/4] mmc/core: add pm_runtime tracking to mmc_host devices NeilBrown
2015-03-24 20:56 ` [PATCH 4/4] mmc/host: use runtime_pm to switch to 1-bit mode NeilBrown
2015-03-24 20:56 ` [PATCH 1/4] mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus NeilBrown
2015-03-24 21:18 ` Ulf Hansson
2015-03-24 20:56 ` [PATCH 3/4] mmc/sdio: keep device awake when interrupts expected in 4bit mode NeilBrown
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=20150324205316.20572.30538.stgit@notabene.brown \
--to=neil@brown.name \
--cc=adrian.hunter@intel.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.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