LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v1 0/1] Mediatek pinctrl patch on mt8195
@ 2021-09-11 7:10 Zhiyong Tao
2021-09-11 7:10 ` [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops Zhiyong Tao
0 siblings, 1 reply; 3+ messages in thread
From: Zhiyong Tao @ 2021-09-11 7:10 UTC (permalink / raw)
To: robh+dt, linus.walleij, mark.rutland, matthias.bgg, sean.wang
Cc: srv_heupstream, zhiyong.tao, hui.liu, light.hsieh, biao.huang,
hongzhou.yang, sean.wang, seiya.wang, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek, linux-gpio
This series includes 1 patches:
1.add pm_ops on mt8195.
Changes in patch v1:
1)separate from RSEL patch on mt8195.
Zhiyong Tao (1):
pinctrl: mediatek: mt8195: Add pm_ops
drivers/pinctrl/mediatek/pinctrl-mt8195.c | 1 +
1 file changed, 1 insertion(+)
--
2.18.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops
2021-09-11 7:10 [PATCH v1 0/1] Mediatek pinctrl patch on mt8195 Zhiyong Tao
@ 2021-09-11 7:10 ` Zhiyong Tao
2021-09-16 22:32 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Zhiyong Tao @ 2021-09-11 7:10 UTC (permalink / raw)
To: robh+dt, linus.walleij, mark.rutland, matthias.bgg, sean.wang
Cc: srv_heupstream, zhiyong.tao, hui.liu, light.hsieh, biao.huang,
hongzhou.yang, sean.wang, seiya.wang, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek, linux-gpio, Chen-Yu Tsai
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>
---
drivers/pinctrl/mediatek/pinctrl-mt8195.c | 1 +
1 file changed, 1 insertion(+)
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,
};
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops
2021-09-11 7:10 ` [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops Zhiyong Tao
@ 2021-09-16 22:32 ` Linus Walleij
0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2021-09-16 22:32 UTC (permalink / raw)
To: Zhiyong Tao
Cc: Rob Herring, Mark Rutland, Matthias Brugger, Sean Wang,
srv_heupstream, hui.liu, Light Hsieh, Biao Huang, Hongzhou Yang,
Sean Wang, Seiya Wang,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel, Linux ARM, moderated list:ARM/Mediatek SoC support,
open list:GPIO SUBSYSTEM, Chen-Yu Tsai
On Sat, Sep 11, 2021 at 9:10 AM Zhiyong Tao <zhiyong.tao@mediatek.com> wrote:
> 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>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-16 22:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 7:10 [PATCH v1 0/1] Mediatek pinctrl patch on mt8195 Zhiyong Tao
2021-09-11 7:10 ` [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops Zhiyong Tao
2021-09-16 22:32 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).