pinctrl: at91-pio4: add PM stuff
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 25 Sep 2015 09:14:09 +0000 (11:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Oct 2015 12:02:37 +0000 (05:02 -0700)
commitde4e882f3fbef586304837518c424787bdfca8b8
tree7bc0855b08fa4b63d4ec939aaba08d2a361fbaf0
parent4730f33f0d822fd8d0f5d2229793a5df674fed5c
pinctrl: at91-pio4: add PM stuff

Allow GPIOs to be configured as wakeup sources. When going to suspend,
disable all GPIO irqs excepting the one configured as wakeup sources.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91-pio4.c