Commit 656ade7a authored by Lucas Stach's avatar Lucas Stach Committed by Shawn Guo

soc: imx: gpcv2: keep i.MX8M* bus clocks enabled

Annotate the domains with bus clocks to keep those clocks enabled
as long as the domain is active.
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 18c98573
...@@ -527,6 +527,7 @@ static const struct imx_pgc_domain imx8m_pgc_domains[] = { ...@@ -527,6 +527,7 @@ static const struct imx_pgc_domain imx8m_pgc_domains[] = {
.hskack = IMX8M_VPU_HSK_PWRDNACKN, .hskack = IMX8M_VPU_HSK_PWRDNACKN,
}, },
.pgc = BIT(IMX8M_PGC_VPU), .pgc = BIT(IMX8M_PGC_VPU),
.keep_clocks = true,
}, },
[IMX8M_POWER_DOMAIN_DISP] = { [IMX8M_POWER_DOMAIN_DISP] = {
...@@ -625,6 +626,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = { ...@@ -625,6 +626,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
.hskreq = IMX8MM_HSIO_HSK_PWRDNREQN, .hskreq = IMX8MM_HSIO_HSK_PWRDNREQN,
.hskack = IMX8MM_HSIO_HSK_PWRDNACKN, .hskack = IMX8MM_HSIO_HSK_PWRDNACKN,
}, },
.keep_clocks = true,
}, },
[IMX8MM_POWER_DOMAIN_PCIE] = { [IMX8MM_POWER_DOMAIN_PCIE] = {
...@@ -671,6 +673,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = { ...@@ -671,6 +673,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
.hskack = IMX8MM_GPUMIX_HSK_PWRDNACKN, .hskack = IMX8MM_GPUMIX_HSK_PWRDNACKN,
}, },
.pgc = BIT(IMX8MM_PGC_GPUMIX), .pgc = BIT(IMX8MM_PGC_GPUMIX),
.keep_clocks = true,
}, },
[IMX8MM_POWER_DOMAIN_GPU] = { [IMX8MM_POWER_DOMAIN_GPU] = {
...@@ -697,6 +700,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = { ...@@ -697,6 +700,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
.hskack = IMX8MM_VPUMIX_HSK_PWRDNACKN, .hskack = IMX8MM_VPUMIX_HSK_PWRDNACKN,
}, },
.pgc = BIT(IMX8MM_PGC_VPUMIX), .pgc = BIT(IMX8MM_PGC_VPUMIX),
.keep_clocks = true,
}, },
[IMX8MM_POWER_DOMAIN_VPUG1] = { [IMX8MM_POWER_DOMAIN_VPUG1] = {
...@@ -743,6 +747,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = { ...@@ -743,6 +747,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
.hskack = IMX8MM_DISPMIX_HSK_PWRDNACKN, .hskack = IMX8MM_DISPMIX_HSK_PWRDNACKN,
}, },
.pgc = BIT(IMX8MM_PGC_DISPMIX), .pgc = BIT(IMX8MM_PGC_DISPMIX),
.keep_clocks = true,
}, },
[IMX8MM_POWER_DOMAIN_MIPI] = { [IMX8MM_POWER_DOMAIN_MIPI] = {
...@@ -810,6 +815,7 @@ static const struct imx_pgc_domain imx8mn_pgc_domains[] = { ...@@ -810,6 +815,7 @@ static const struct imx_pgc_domain imx8mn_pgc_domains[] = {
.hskreq = IMX8MN_HSIO_HSK_PWRDNREQN, .hskreq = IMX8MN_HSIO_HSK_PWRDNREQN,
.hskack = IMX8MN_HSIO_HSK_PWRDNACKN, .hskack = IMX8MN_HSIO_HSK_PWRDNACKN,
}, },
.keep_clocks = true,
}, },
[IMX8MN_POWER_DOMAIN_OTG1] = { [IMX8MN_POWER_DOMAIN_OTG1] = {
......
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