[PATCH] pxa/hx4700: Fix basic suspend/resume

Paul Parsons lost.distance at yahoo.com
Sun Feb 26 21:32:49 EST 2012


Hello Haojian,

> > What you want here is to keep the SPI chip select
> deasserted (high)
> > during suspend, so I think that should be DRIVE_HIGH
> instead.
> >
> > Otherwise,
> > Acked-by: Philipp Zabel <philipp.zabel at gmail.com>
> >
> This patch keeps a lot of devices in power-on mode (not
> reset mode).
> Is it necessary?

No, of course not. This patch is just a first step to get hx4700 suspend
mode working; currently it does not work at all.

The suspend mode disposition of devices and GPIOs still needs to be
reviewed at some point. For example, someone else discovered that the two
Bluetooth outputs (GPIO43, GPIO45) account for approximately one third of
the suspend mode power consumption! Correcting that will be my next patch.

Regards,
Paul



More information about the linux-arm-kernel mailing list