From: atull@opensource.altera.com (atull)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/2] socfpga: support suspend to ram
Date: Wed, 15 Oct 2014 15:17:51 -0500 [thread overview]
Message-ID: <alpine.DEB.2.02.1410151517350.28205@atx-linux-37> (raw)
In-Reply-To: <20141015075001.GB10720@amd>
On Wed, 15 Oct 2014, Pavel Machek wrote:
> On Tue 2014-10-14 14:33:39, atull at opensource.altera.com wrote:
> > From: Alan Tull <atull@opensource.altera.com>
> >
> > Add code that requests that the sdr controller go into
> > self-refresh mode. This code is run from ocram.
> >
> > This patch assumes that u-boot has already configured sdr:
> > sdr.ctrlcfg.lowpwreq.selfrfshmask = 3
> > sdr.ctrlcfg.lowpwrtiming.clkdisablecycles = 8
> > sdr.ctrlcfg.dramtiming4.selfrfshexit = 512
> >
> > How to suspend to ram:
> > $ echo enabled > \
> > /sys/devices/soc/ffc02000.serial0/tty/ttyS0/power/wakeup
> >
> > $ echo -n mem > /sys/power/state
> >
> > Signed-off-by: Alan Tull <atull@opensource.altera.com>
>
> Acked-by: Pavel Machek <pavel@denx.de>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
Thanks!
Alan
next prev parent reply other threads:[~2014-10-15 20:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 19:33 [PATCH v3 0/2] socfpga: fix hotplug/add suspend to ram atull at opensource.altera.com
2014-10-14 19:33 ` [PATCH v3 1/2] socfpga: hotplug: put cpu1 in wfi atull at opensource.altera.com
2014-10-15 7:48 ` Pavel Machek
2014-10-14 19:33 ` [PATCH v3 2/2] socfpga: support suspend to ram atull at opensource.altera.com
2014-10-15 7:50 ` Pavel Machek
2014-10-15 20:17 ` atull [this message]
2014-10-23 14:59 ` Dinh Nguyen
2014-10-15 19:50 ` [PATCH v3 0/2] socfpga: fix hotplug/add " Dinh Nguyen
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=alpine.DEB.2.02.1410151517350.28205@atx-linux-37 \
--to=atull@opensource.altera.com \
--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