WSL2-Linux-Kernel/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 pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
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: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-39x.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-370.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-375.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-ap806.c pinctrl: mvebu: add driver for Armada AP806 pinctrl 2017-06-16 11:22:33 +02:00
pinctrl-armada-cp110.c pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
pinctrl-armada-xp.c treewide: devm_kmalloc() -> devm_kmalloc_array() 2018-06-12 16:19:22 -07:00
pinctrl-dove.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-kirkwood.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-mvebu.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pinctrl-mvebu.h pinctrl: mvebu: remove the offset property for regmap 2017-06-16 11:19:50 +02:00
pinctrl-orion.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00