suspend/resume libertas_sdio device
Dan Williams
dcbw at redhat.com
Mon Mar 10 15:59:23 EDT 2008
On Mon, 2008-03-10 at 20:58 +0100, Pierre Ossman wrote:
> On Mon, 10 Mar 2008 10:52:31 -0400
> Dan Williams <dcbw at redhat.com> wrote:
>
> > On Mon, 2008-03-10 at 12:13 +0100, Hans-Jürgen Koch wrote:
> > > I'd like to suspend my 8686 when not needed, as it draws considerable
> > > power. I noticed there's no .suspend/.resume in struct sdio_driver, so
> > > how do I go about? Is there a recommended solution, or do I have to
> > > hack up something myself?
> > > I've got the power-down input of the 8686 connected to some GPIO, so
> > > it'd be nice if I could define a function somewhere in my board
> > > support that handles this.
> >
> > You might want to involve Pierre Ossman in the discussion since he's the
> > maintainer of the SDIO stack.
> >
> > Pierre, where should this stuff be? What parts would be in the stack
> > vs. the driver itself?
> >
>
> The SDIO system is very simplistic, so if you can't do something fancy at a libertas level, then your only option is to power down the card (i.e. simulate an eject). There is nothing in place right now to do that though.
We should be able to tell the card to go into deep sleep at the libertas
level, at least. We should be turning off the TX power when the
interface is closed, and going to deep sleep in the suspend hooks.
Dan
More information about the libertas-dev
mailing list