OpenCloudOS-Kernel/include/linux/mmc
Nicolas Pitre da68c4eb25 sdio: introduce API for special power management features
This patch series provides the core changes needed to allow SDIO cards to
remain powered and active while the host system is suspended, and let them
wake up the host system when needed.  This is used to implement
wake-on-lan with SDIO wireless cards at the moment.  Patches to add that
support to the libertas driver will be posted separately.

This patch:

Some SDIO cards have the ability to keep on running autonomously when the
host system is suspended, and wake it up when needed.  This however
requires that the host controller preserve power to the card, and
configure itself appropriately for wake-up.

There is however 4 layers of abstractions involved: the host controller
driver, the MMC core code, the SDIO card management code, and the actual
SDIO function driver.  To make things simple and manageable, host drivers
must advertise their PM capabilities with a feature bitmask, then function
drivers can query and set those features from their suspend method.  Then
each layer in the suspend call chain is expected to act upon those bits
accordingly.

[akpm@linux-foundation.org: fix typo in comment]
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:36 -08:00
..
card.h sdio: add quirk to clamp byte mode transfer 2010-03-06 11:26:36 -08:00
core.h mmc: allow host claim / release nesting 2009-09-23 07:39:33 -07:00
host.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
mmc.h mmc: check status after MMC SWITCH command 2009-09-23 07:39:34 -07:00
pm.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sd.h mmc: Separate out protocol ops 2007-05-01 13:04:18 +02:00
sdio.h sdio: add SDIO_FBR_BASE(f) macro 2007-09-23 21:16:27 +02:00
sdio_func.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sdio_ids.h wimax/iwmc3200: add new sdio device ID to support iwmc3200 2.5GHz sku 2009-10-19 15:55:59 +09:00