All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on
@ 2018-01-23 16:42 ` Anson Huang
  0 siblings, 0 replies; 21+ messages in thread
From: Anson Huang @ 2018-01-23 16:42 UTC (permalink / raw)
  To: linux-arm-kernel

ARM power domain does NOT support runtime off, always-on
flag should be set to avoid incorrect power state in
pm_genpd_summary:

Before:

root at imx6qpdlsolox:~# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
domain                          status          slaves
    /device                                             runtime status
----------------------------------------------------------------------
ARM                             off-0

After:

root at imx6qpdlsolox:~# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
domain                          status          slaves
    /device                                             runtime status
----------------------------------------------------------------------
ARM                             on

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/soc/imx/gpc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c
index 53f7275..6cafa9b 100644
--- a/drivers/soc/imx/gpc.c
+++ b/drivers/soc/imx/gpc.c
@@ -254,6 +254,7 @@ static struct imx_pm_domain imx_gpc_domains[] = {
 	{
 		.base = {
 			.name = "ARM",
+			.flags = GENPD_FLAG_ALWAYS_ON,
 		},
 	}, {
 		.base = {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-02-05  6:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 16:42 [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on Anson Huang
2018-01-23 16:42 ` Anson Huang
2018-01-23 16:42 ` Anson Huang
2018-01-23 13:47 ` Lucas Stach
2018-01-23 13:47   ` Lucas Stach
2018-01-23 13:47   ` Lucas Stach
2018-01-23 16:42 ` [PATCH 2/2] ARM: dts: imx6sx: add ARM power domain support Anson Huang
2018-01-23 16:42   ` Anson Huang
2018-01-23 16:42   ` Anson Huang
2018-01-23 13:48   ` Lucas Stach
2018-01-23 13:48     ` Lucas Stach
2018-01-23 13:48     ` Lucas Stach
2018-01-25 10:33   ` Dong Aisheng
2018-01-25 10:33     ` Dong Aisheng
2018-01-25 10:33     ` Dong Aisheng
2018-01-25 10:29 ` [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on Dong Aisheng
2018-01-25 10:29   ` Dong Aisheng
2018-01-25 10:29   ` Dong Aisheng
2018-02-05  6:33 ` Shawn Guo
2018-02-05  6:33   ` Shawn Guo
2018-02-05  6:33   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.