[PATCH v2] pinctrl: armada-37xx: add suspend/resume support
From: Linus Walleij <hidden>
Date: 2018-06-29 12:41:59
Also in:
linux-gpio
From: Linus Walleij <hidden>
Date: 2018-06-29 12:41:59
Also in:
linux-gpio
On Tue, Jun 26, 2018 at 4:06 PM Miquel Raynal [off-list ref] wrote:
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 <redacted> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Patch applied with Gregory's review tag. Yours, Linus Walleij