diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-31 08:21:10 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:00 +0200 |
commit | 9697509e3fbef91d1c307164fbd76c20cac96370 (patch) | |
tree | 60c3427f2531a0ef877886989d6f153832f2cd6a /drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | |
parent | pinctrl: uniphier: omit redundant input enable bit information (diff) | |
download | linux-9697509e3fbef91d1c307164fbd76c20cac96370.tar.xz linux-9697509e3fbef91d1c307164fbd76c20cac96370.zip |
pinctrl: uniphier: add suspend / resume support
Save registers lost in the sleep when suspending, and restore them
when resuming.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c index f0221e93aa25..1af430d701be 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c @@ -669,6 +669,7 @@ static struct platform_driver uniphier_sld8_pinctrl_driver = { .driver = { .name = "uniphier-sld8-pinctrl", .of_match_table = uniphier_sld8_pinctrl_match, + .pm = &uniphier_pinctrl_pm_ops, }, }; builtin_platform_driver(uniphier_sld8_pinctrl_driver); |