Suspend/resume without bringing down SDIO

Chris Ball cjb at laptop.org
Mon Aug 3 17:24:55 EDT 2009


Hi Pierre, and libertas-dev,

We're using a Marvell SDIO 8686 wifi module in the new OLPC XO-1.5,
and need the SDIO card to stay up across suspend so that it can wake
us with an SDIO interrupt when a packet arrives while we're suspended.
(We do this with the USB 8388 on the XO-1, too.)

I see that the SD stack doesn't yet have support for per-driver
suspend/resume hooks, though.  We're using a standard sdhci host,
which we keep powered during suspend.  Any suggestions on what we
should work on, or pointers to patches that accomplish these if
they exist already?  It sounds like we're looking for:

* a way to tell the core not to remove the card on the way into
  suspend; it's always going to be present when we resume.
* a way to register driver hooks to call suspend/resume functions
  in the same way current libertas if_usb.c does.

Thanks!

- Chris.
-- 
Chris Ball   <cjb at laptop.org>



More information about the libertas-dev mailing list