lkml.org 
[lkml]   [2014]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 2/2] socfpga: support suspend to ram
    On Wed, 15 Oct 2014, Pavel Machek wrote:

    > On Tue 2014-10-14 14:33:39, atull@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



    \
     
     \ /
      Last update: 2014-10-15 23:01    [W:2.587 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site