Skip to content

Use runtime-pm to switch sdio to 1-bit when idle

NeilBrown linux-mmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.drivers/mmc/core/sdio.c+12 -201 reply
2/4mmc/core: add pm_runtime tracking to mmc_host devices.drivers/mmc/core/core.c drivers/mmc/core/host.c+26 -20 replies
3/4mmc/sdio: keep device awake when interrupts expected in 4bit modedrivers/mmc/core/sdio.c+5 -00 replies
4/4mmc/host: use runtime_pm to switch to 1-bit modedrivers/mmc/core/host.c drivers/mmc/core/sdio.c+57 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
1/4T-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.

Read the v1 thread

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