Commit d9608eab authored by Zhiyong Tao's avatar Zhiyong Tao Committed by Linus Walleij

pinctrl: mediatek: mt8195: Add pm_ops

Setting this up will configure wake from suspend properly,
and wake only for the interrupts that are setup in wake_mask,
not all interrupts.

Fixes: 6cf5e9ef ("pinctrl: add pinctrl driver on mt8195")
Signed-off-by: default avatarZhiyong Tao <zhiyong.tao@mediatek.com>
Reviewed-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20210911071046.17349-2-zhiyong.tao@mediatek.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d7050df3
...@@ -839,6 +839,7 @@ static struct platform_driver mt8195_pinctrl_driver = { ...@@ -839,6 +839,7 @@ static struct platform_driver mt8195_pinctrl_driver = {
.driver = { .driver = {
.name = "mt8195-pinctrl", .name = "mt8195-pinctrl",
.of_match_table = mt8195_pinctrl_of_match, .of_match_table = mt8195_pinctrl_of_match,
.pm = &mtk_paris_pinctrl_pm_ops,
}, },
.probe = mt8195_pinctrl_probe, .probe = mt8195_pinctrl_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment