diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-06-26 16:06:13 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-06-29 14:41:10 +0200 |
commit | 6a230edd5d6e02655ad3a7ac718f521e96b9830c (patch) | |
tree | 269fd58de13369e8ccf1571613bf184095d2d3c2 /crypto | |
parent | 6c5d0736e9c09f00f5549f20390d6daae98a1bfd (diff) | |
download | linux-6a230edd5d6e02655ad3a7ac718f521e96b9830c.tar.bz2 |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions