alistair23-linux/drivers/pinctrl/mvebu
Miquel Raynal 6a230edd5d pinctrl: armada-37xx: add suspend/resume support
Add suspend/resume hooks in pinctrl driver to handle S2RAM operations.

Beyond the traditional register save/restore operations, these hooks
also keep the GPIOs used for both-edge IRQ synchronized between their
level (low/high) and expected IRQ polarity (falling/rising edge).

Since pinctrl is an infrastructure module, its resume should be issued
prior to other IO drivers. The pinctrl PM operations are requested at
early/late stages for this reason.

Suggested-by: Ken Ma <make@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-06-29 14:41:10 +02:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-armada-37xx.c pinctrl: armada-37xx: add suspend/resume support 2018-06-29 14:41:10 +02:00
pinctrl-armada-38x.c
pinctrl-armada-39x.c
pinctrl-armada-370.c
pinctrl-armada-375.c
pinctrl-armada-ap806.c
pinctrl-armada-cp110.c
pinctrl-armada-xp.c treewide: devm_kmalloc() -> devm_kmalloc_array() 2018-06-12 16:19:22 -07:00
pinctrl-dove.c
pinctrl-kirkwood.c
pinctrl-mvebu.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pinctrl-mvebu.h
pinctrl-orion.c