diff options
author | Miquel Raynal <[email protected]> | 2018-06-26 16:06:13 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2018-06-29 14:41:10 +0200 |
commit | 6a230edd5d6e02655ad3a7ac718f521e96b9830c (patch) | |
tree | 269fd58de13369e8ccf1571613bf184095d2d3c2 /lib/mpi/mpiutil.c | |
parent | 6c5d0736e9c09f00f5549f20390d6daae98a1bfd (diff) |
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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Reviewed-by: Gregory CLEMENT <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions