pinctrl: imx8mq: Add suspend/resume ops
authorAbel Vesa <abel.vesa@nxp.com>
Mon, 8 Apr 2019 18:38:31 +0000 (18:38 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Apr 2019 13:41:43 +0000 (15:41 +0200)
commit855811eaeb83a380e30badba7226b02772922de9
tree9b2804d0f5fbd94e9fb3231eb36fc2b10d244724
parent21989587f6d0c900195ac818cc55b9a20f960904
pinctrl: imx8mq: Add suspend/resume ops

To support pinctl hog restore after LPSR resume back,
add the generic suspend/resume in pinctrl-imx along with the
generic pm ops to be used by platform specific drivers. Then
make use of the newly added ops in i.MX8MQ platform specific
driver.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx.h
drivers/pinctrl/freescale/pinctrl-imx8mq.c