gpio: pl061: add support for wakeup configuration
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 27 Nov 2015 17:19:15 +0000 (17:19 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Dec 2015 14:01:33 +0000 (15:01 +0100)
commit2f46205b4e4c1c2a4b72082f805753eb51fbfab5
tree3e2c12153345f77dc4c41de46f512fdb744637e3
parent3773c195d3874d38d1c5ac68868024b32a1f08c9
gpio: pl061: add support for wakeup configuration

The PL061 supports interrupts and those can be wakeup interrupts. We
need to provide support for configuring those interrupts as wakeup
sources.

This patch adds irq_set_wake callback for PL061 so that GPIO interrupts
can be configured as wakeup.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pl061.c