gpio: pca953x: Add wake-up support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Feb 2019 13:15:03 +0000 (14:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Feb 2019 09:30:45 +0000 (10:30 +0100)
commit2a9a2f27d35af6c44c2e38437c855f55390c3439
treeff2eed9121535a4f0c07f6b76f0f11aa86993b6a
parent2f7db3c70fdfb22480a1b0aa734664fc256532f2
gpio: pca953x: Add wake-up support

Implement the irq_set_wake() method in the (optional) irq_chip of the
GPIO expander, and propagate wake-up settings to the upstream interrupt
controller.  This allows GPIOs connected to a PCA953X GPIO expander to
serve as wake-up sources.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c