[PATCH v2] pxa/hx4700: Fix basic suspend/resume
Paul Parsons
lost.distance at yahoo.com
Sat Mar 10 10:11:10 EST 2012
Hi Philipp,
--- On Fri, 9/3/12, Philipp Zabel <philipp.zabel at gmail.com> wrote:
> > Changed GPIO88, GPIO72, GPIO96 from KEEP_OUTPUT to
> DRIVE_HIGH.
>
> The bq24022 GPIOs (72 and 96) should stay KEEP_OUTPUT to
> allow
> charging from the AC adapter while suspended.
I think I disabled this because I was wary of uncontrolled charging while
suspended. The SDG bootloader does have specific code to control charging
and the LEDs while suspended, but AFAIK it is not currently working.
Nonetheless, I've modified the patch.
Interestingly, the SDG bootloader seems to use LED interrupts to
periodically wake up during suspend. At last, that would explain why the
LED GPIOs are inputs, not outputs.
Paul
More information about the linux-arm-kernel
mailing list