Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V8 1/3] ARM: imx: add suspend in ocram support for i.mx6q
Date: Sun, 19 Jan 2014 10:49:50 +0800	[thread overview]
Message-ID: <20140119024948.GC16158@S2101-09.ap.freescale.net> (raw)
In-Reply-To: <1389929947-25707-1-git-send-email-b20788@freescale.com>

On Fri, Jan 17, 2014 at 11:39:05AM +0800, Anson Huang wrote:
> When system enter suspend, we can set the DDR IO to
> high-Z state to save DDR IOs' power consumption, this
> operation can save many power(from ~26mA at 1.5V to ~15mA at 1.5V,
> measured on i.MX6Q SabreSD board, R25) of DDR IOs. To
> achieve that, we need to copy the suspend code to ocram
> and run the low level hardware related code(set DDR IOs
> to high-Z state) in ocram.
> 
> If there is no ocram space available, then system will
> still do suspend in external DDR, hence no DDR IOs will
> be set to high-Z.
> 
> The OCRAM usage layout is as below,
> 
> ocram suspend region(4K currently):
> ======================== high address ======================
>                               .
>                               .
>                               .
>                               ^
>                               ^
>                               ^
>                       imx6_suspend code
>              PM_INFO structure(imx6_cpu_pm_info)
> ======================== low address =======================
> 
> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Anson Huang <b20788@freescale.com>

Thanks for the work.  Applied all 3, thanks.

      parent reply	other threads:[~2014-01-19  2:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17  3:39 [PATCH V8 1/3] ARM: imx: add suspend in ocram support for i.mx6q Anson Huang
2014-01-17  3:39 ` [PATCH V8 2/3] ARM: imx: add suspend in ocram support for i.mx6dl Anson Huang
2014-01-17  3:39 ` [PATCH V8 3/3] ARM: imx: add suspend in ocram support for i.mx6sl Anson Huang
2014-01-19  2:49 ` Shawn Guo [this message]

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=20140119024948.GC16158@S2101-09.ap.freescale.net \
    --to=shawn.guo@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox