From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 2/2] ARM: imx: support suspend states on imx7D
Date: Mon, 7 Sep 2015 23:11:06 +0800 [thread overview]
Message-ID: <20150907151106.GA30723@tiger> (raw)
In-Reply-To: <1438378439-11569-3-git-send-email-shenwei.wang@freescale.com>
On Fri, Jul 31, 2015 at 04:33:59PM -0500, Shenwei Wang wrote:
> IMX7D contains a new version of GPC IP block (GPCv2). It has two
> major functions: power management and wakeup source management.
>
> GPCv2 provides low power mode control for Cortex-A7 and Cortex-M4
> domains. And it can support WAIT, STOP, and DSM(Deep Sleep Mode) modes.
> After configuring the GPCv2 module, the platform can enter into a
> selected mode either automatically triggered by ARM WFI instruction or
> manually by software. The system will exit the low power states
> by the predefined wakeup sources which are managed by the gpcv2
> irqchip driver.
>
> This patch adds a new suspend driver to manage the power states on IMX7D.
> It currently supports "SUSPEND_STANDBY" and "SUSPEND_MEM" states.
>
> Signed-off-by: Shenwei Wang <shenwei.wang@freescale.com>
> Signed-off-by: Anson Huang <b20788@freescale.com>
Please stop sending patches to my Linaro mailbox, and use
shawnguo at kernel.org instead. You should already get that if you ever
run ./scripts/get_maintainer.pl on the patch. Also please always copy
kernel at pengutronix.de for i.MX platform patches like this.
> ---
> arch/arm/mach-imx/Kconfig | 1 +
> arch/arm/mach-imx/Makefile | 2 +
> arch/arm/mach-imx/common.h | 4 +
> arch/arm/mach-imx/pm-imx7.c | 917 +++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-imx/suspend-imx7.S | 529 ++++++++++++++++++++++
> 5 files changed, 1453 insertions(+)
1453 lines addition to kernel only for i.MX7D suspend support. Yes,
this is the way we support suspend on i.MX6, but that's enough, and
we have to stop this somewhere. I would ask you to take Sudeep's
comment and adopt PSCI for i.MX7D power management.
Shawn
[1] https://lkml.org/lkml/2015/8/26/554
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Shenwei Wang <shenwei.wang@freescale.com>
Cc: shawn.guo@linaro.org, tglx@linutronix.de, jason@lakedaemon.net,
b20788@freescale.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Sudeep Holla <sudeep.holla@arm.com>
Subject: Re: [PATCH v8 2/2] ARM: imx: support suspend states on imx7D
Date: Mon, 7 Sep 2015 23:11:06 +0800 [thread overview]
Message-ID: <20150907151106.GA30723@tiger> (raw)
In-Reply-To: <1438378439-11569-3-git-send-email-shenwei.wang@freescale.com>
On Fri, Jul 31, 2015 at 04:33:59PM -0500, Shenwei Wang wrote:
> IMX7D contains a new version of GPC IP block (GPCv2). It has two
> major functions: power management and wakeup source management.
>
> GPCv2 provides low power mode control for Cortex-A7 and Cortex-M4
> domains. And it can support WAIT, STOP, and DSM(Deep Sleep Mode) modes.
> After configuring the GPCv2 module, the platform can enter into a
> selected mode either automatically triggered by ARM WFI instruction or
> manually by software. The system will exit the low power states
> by the predefined wakeup sources which are managed by the gpcv2
> irqchip driver.
>
> This patch adds a new suspend driver to manage the power states on IMX7D.
> It currently supports "SUSPEND_STANDBY" and "SUSPEND_MEM" states.
>
> Signed-off-by: Shenwei Wang <shenwei.wang@freescale.com>
> Signed-off-by: Anson Huang <b20788@freescale.com>
Please stop sending patches to my Linaro mailbox, and use
shawnguo@kernel.org instead. You should already get that if you ever
run ./scripts/get_maintainer.pl on the patch. Also please always copy
kernel@pengutronix.de for i.MX platform patches like this.
> ---
> arch/arm/mach-imx/Kconfig | 1 +
> arch/arm/mach-imx/Makefile | 2 +
> arch/arm/mach-imx/common.h | 4 +
> arch/arm/mach-imx/pm-imx7.c | 917 +++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-imx/suspend-imx7.S | 529 ++++++++++++++++++++++
> 5 files changed, 1453 insertions(+)
1453 lines addition to kernel only for i.MX7D suspend support. Yes,
this is the way we support suspend on i.MX6, but that's enough, and
we have to stop this somewhere. I would ask you to take Sudeep's
comment and adopt PSCI for i.MX7D power management.
Shawn
[1] https://lkml.org/lkml/2015/8/26/554
next prev parent reply other threads:[~2015-09-07 15:11 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 21:33 [PATCH v8 0/2] IMX GPCv2 drivers for wakeup source and suspend Shenwei Wang
2015-07-31 21:33 ` Shenwei Wang
2015-07-31 21:33 ` [PATCH v8 1/2] irqchip: imx-gpcv2: IMX GPCv2 driver for wakeup sources Shenwei Wang
2015-07-31 21:33 ` Shenwei Wang
2015-08-21 13:45 ` Shenwei Wang
2015-08-21 13:45 ` Shenwei Wang
2015-08-23 10:57 ` Thomas Gleixner
2015-08-23 10:57 ` Thomas Gleixner
2015-08-24 16:09 ` Shenwei Wang
2015-08-24 16:09 ` Shenwei Wang
2015-08-24 17:37 ` Thomas Gleixner
2015-08-24 17:37 ` Thomas Gleixner
2015-08-24 18:25 ` Shenwei Wang
2015-08-24 18:25 ` Shenwei Wang
2015-08-24 18:31 ` Thomas Gleixner
2015-08-24 18:31 ` Thomas Gleixner
2015-07-31 21:33 ` [PATCH v8 2/2] ARM: imx: support suspend states on imx7D Shenwei Wang
2015-07-31 21:33 ` Shenwei Wang
2015-08-21 13:45 ` Shenwei Wang
2015-08-21 13:45 ` Shenwei Wang
2015-09-03 20:41 ` Shenwei Wang
2015-09-03 20:41 ` Shenwei Wang
2015-09-07 15:11 ` Shawn Guo [this message]
2015-09-07 15:11 ` Shawn Guo
2015-09-08 15:01 ` Shenwei Wang
2015-09-08 15:01 ` Shenwei Wang
2015-09-18 14:15 ` Shawn Guo
2015-09-18 14:15 ` Shawn Guo
2015-09-18 14:38 ` Shenwei Wang
2015-09-18 14:38 ` Shenwei Wang
2015-09-19 1:12 ` Shawn Guo
2015-09-19 1:12 ` Shawn Guo
2015-10-01 16:31 ` Zhi Li
2015-10-01 16:31 ` Zhi Li
2015-10-08 6:37 ` Shawn Guo
2015-10-08 6:37 ` 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=20150907151106.GA30723@tiger \
--to=shawnguo@kernel.org \
--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 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.