[PATCH RESEND] ARM: pxa: hx4700: Enable ASIC3 GPIO as a wakeup source

Haojian Zhuang haojian.zhuang at gmail.com
Wed May 2 21:50:50 EDT 2012


On Wed, May 2, 2012 at 11:49 PM, Paul Parsons <lost.distance at yahoo.com> wrote:
> This patch enables the ASIC3 GPIO (12) as a wakeup source:
> 1. Set the WAKEUP_ON_EDGE_RISE MFP config bits for GPIO12 in
> hx4700_pin_config[].
> 2. Call gpio_set_wake() for GPIO12.
>
> With GPIO12 thus enabled, the mfd/asic3 driver can enable its own GPIOs
> as wakeup sources by implementing a irq_set_wake() handler.
>
> Signed-off-by: Paul Parsons <lost.distance at yahoo.com>
> Cc: Philipp Zabel <philipp.zabel at gmail.com>
> ---
>  arch/arm/mach-pxa/hx4700.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
Applied

Regards
Haojian



More information about the linux-arm-kernel mailing list