soc: mediatek: pm-domains: Add wakeup capacity support in power domain
authorChun-Jie Chen <chun-jie.chen@mediatek.com>
Sun, 30 Jan 2022 01:21:01 +0000 (09:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:18 +0000 (14:23 +0200)
commit7c31acd9ca79efe6e4209d337bf7ff68e7d6f15a
treefa3917daf9ab6199e9580151af9fade0fe4344d6
parent9db7423703049bef60d69df6f84a60c50b4d416a
soc: mediatek: pm-domains: Add wakeup capacity support in power domain

[ Upstream commit ac0ca395543af061f7ad77afcda0afb323d82468 ]

Due to some power domain needs to keep on for wakeup in system suspend,
so add GENPD_FLAG_ACTIVE_WAKEUP support in Mediatek power domain driver.

Fixes: 59b644b01cf4 ("soc: mediatek: Add MediaTek SCPSYS power domains")
Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220130012104.5292-3-chun-jie.chen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/mediatek/mtk-pm-domains.c