Use runtime-pm to switch sdio to 1-bit when idle
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.drivers/ | +12 | 1 reply | |
| 2/4 | mmc/core: add pm_runtime tracking to mmc_host devices.drivers/ drivers/ | +26 | 0 replies | |
| 3/4 | mmc/sdio: keep device awake when interrupts expected in 4bit modedrivers/ | +5 | 0 replies | |
| 4/4 | mmc/host: use runtime_pm to switch to 1-bit modedrivers/ drivers/ | +57 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Tony Lindgren |
|---|---|
| 1/4 | T-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH/RFC 0/4] Use runtime-pm to switch sdio to 1-bit when idle
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