Commit 278adec9 authored by xianwei.zhao's avatar xianwei.zhao Committed by Ulf Hansson

pmdomain: amlogic: modify some power domains property

Some power domains for C3 can be using runtime PM,
remove ALWAYS_ON property. And add some power domains
description when ALWAYS_ON property.
Signed-off-by: default avatarxianwei.zhao <xianwei.zhao@amlogic.com>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230911025223.3433776-2-xianwei.zhao@amlogic.com
[Ulf: Re-based to fit the pmdomain subsystem]
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e2ad626f
...@@ -122,18 +122,19 @@ static struct meson_secure_pwrc_domain_desc a1_pwrc_domains[] = { ...@@ -122,18 +122,19 @@ static struct meson_secure_pwrc_domain_desc a1_pwrc_domains[] = {
}; };
static struct meson_secure_pwrc_domain_desc c3_pwrc_domains[] = { static struct meson_secure_pwrc_domain_desc c3_pwrc_domains[] = {
SEC_PD(C3_NNA, 0), SEC_PD(C3_NNA, 0),
SEC_PD(C3_AUDIO, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_AUDIO, 0),
SEC_PD(C3_SDIOA, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_SDIOA, 0),
SEC_PD(C3_EMMC, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_EMMC, 0),
SEC_PD(C3_USB_COMB, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_USB_COMB, 0),
SEC_PD(C3_SDCARD, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_SDCARD, 0),
SEC_PD(C3_ETH, GENPD_FLAG_ALWAYS_ON), /* ETH is for ethernet online wakeup, and should be always on */
SEC_PD(C3_GE2D, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_ETH, GENPD_FLAG_ALWAYS_ON),
SEC_PD(C3_CVE, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_GE2D, 0),
SEC_PD(C3_GDC_WRAP, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_CVE, 0),
SEC_PD(C3_ISP_TOP, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_GDC_WRAP, 0),
SEC_PD(C3_MIPI_ISP_WRAP, GENPD_FLAG_ALWAYS_ON), SEC_PD(C3_ISP_TOP, 0),
SEC_PD(C3_MIPI_ISP_WRAP, 0),
SEC_PD(C3_VCODEC, 0), SEC_PD(C3_VCODEC, 0),
}; };
......
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