diff options
author | Zhiyong Tao <zhiyong.tao@mediatek.com> | 2021-09-11 15:10:46 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-09-17 00:32:24 +0200 |
commit | d9608eab1e661fe5138581c2d4ebeae9c76685d4 (patch) | |
tree | 20e97a704409037f40da3b44af87693d720e3e0e /drivers/pinctrl/mediatek | |
parent | d7050df38dc35e7eb2d49aa02682e2117bdeb287 (diff) | |
download | linux-d9608eab1e661fe5138581c2d4ebeae9c76685d4.tar.gz linux-d9608eab1e661fe5138581c2d4ebeae9c76685d4.tar.bz2 linux-d9608eab1e661fe5138581c2d4ebeae9c76685d4.zip |
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: 6cf5e9ef362af824de2e4e8afb78d74537f1e3db ("pinctrl: add pinctrl driver on mt8195")
Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20210911071046.17349-2-zhiyong.tao@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mt8195.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8195.c b/drivers/pinctrl/mediatek/pinctrl-mt8195.c index a7500e18bb1d..892e79703f98 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8195.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8195.c @@ -839,6 +839,7 @@ static struct platform_driver mt8195_pinctrl_driver = { .driver = { .name = "mt8195-pinctrl", .of_match_table = mt8195_pinctrl_of_match, + .pm = &mtk_paris_pinctrl_pm_ops, }, .probe = mt8195_pinctrl_probe, }; |