summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale/pinctrl-imx8mq.c
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2019-04-08 18:38:31 +0000
committerLinus Walleij <linus.walleij@linaro.org>2019-04-11 15:41:43 +0200
commit855811eaeb83a380e30badba7226b02772922de9 (patch)
tree9b2804d0f5fbd94e9fb3231eb36fc2b10d244724 /drivers/pinctrl/freescale/pinctrl-imx8mq.c
parent21989587f6d0c900195ac818cc55b9a20f960904 (diff)
downloadlinux-855811eaeb83a380e30badba7226b02772922de9.tar.bz2
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>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx8mq.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx8mq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx8mq.c b/drivers/pinctrl/freescale/pinctrl-imx8mq.c
index 8d39af541d5f..50aa1c00c4b2 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx8mq.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx8mq.c
@@ -339,6 +339,7 @@ static struct platform_driver imx8mq_pinctrl_driver = {
.driver = {
.name = "imx8mq-pinctrl",
.of_match_table = of_match_ptr(imx8mq_pinctrl_of_match),
+ .pm = &imx_pinctrl_pm_ops,
.suppress_bind_attrs = true,
},
.probe = imx8mq_pinctrl_probe,