public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on
Date: Tue, 23 Jan 2018 14:47:36 +0100	[thread overview]
Message-ID: <1516715256.25726.22.camel@pengutronix.de> (raw)
In-Reply-To: <1516725734-32745-1-git-send-email-Anson.Huang@nxp.com>

Am Mittwoch, den 24.01.2018, 00:42 +0800 schrieb Anson Huang:
> 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>

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>

> ---
> ?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 = {

  reply	other threads:[~2018-01-23 13:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 16:42 [PATCH 1/2] soc: imx: gpc: ARM power domain should be always-on Anson Huang
2018-01-23 13:47 ` Lucas Stach [this message]
2018-01-23 16:42 ` [PATCH 2/2] ARM: dts: imx6sx: add ARM power domain support Anson Huang
2018-01-23 13:48   ` Lucas Stach
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-02-05  6:33 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516715256.25726.22.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox