Re: [PATCH v4 3/4] gpio: brcmstb: support wakeup from S5 cold boot

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong wrote: > For wake from S5, we need to: > - register a reboot handler > - set wakeup capability before requesting IRQ so wakeup count is > incremented > - mask all GPIO IRQs and clear any pending interrupts during driver > probe to since no driver

Re: [PATCH v4 3/4] gpio: brcmstb: support wakeup from S5 cold boot

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong gregory.0...@gmail.com wrote: For wake from S5, we need to: - register a reboot handler - set wakeup capability before requesting IRQ so wakeup count is incremented - mask all GPIO IRQs and clear any pending interrupts during driver probe to

[PATCH v4 3/4] gpio: brcmstb: support wakeup from S5 cold boot

2015-07-31 Thread Gregory Fong
For wake from S5, we need to: - register a reboot handler - set wakeup capability before requesting IRQ so wakeup count is incremented - mask all GPIO IRQs and clear any pending interrupts during driver probe to since no driver will yet be registered to handle any IRQs carried over from boot

[PATCH v4 3/4] gpio: brcmstb: support wakeup from S5 cold boot

2015-07-31 Thread Gregory Fong
For wake from S5, we need to: - register a reboot handler - set wakeup capability before requesting IRQ so wakeup count is incremented - mask all GPIO IRQs and clear any pending interrupts during driver probe to since no driver will yet be registered to handle any IRQs carried over from boot