lkml.org 
[lkml]   [2013]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] pinctrl: samsung: fix suspend/resume functionality
From
Tomasz,

On Thu, May 16, 2013 at 4:10 PM, Doug Anderson <dianders@chromium.org> wrote:
> If state of these registers isn't lost on those SoCs then running the
> save/restore shouldn't _hurt_ though, right? If you can run the old
> GPIO code on one of those systems and do a suspend/resume you could
> check...

I think it's been too long of a day for me, too.

I just thought about this and realized that there is no "powerdown"
registers for the GPX banks on exynos5250. ...and they don't lose
their state at sleep! ...so maybe a reasonable thing to do would be
to skip save/restore in any case where there are no powerdown
registers?

You can see a printout in my case:

[ 412.840000] gpx0 @ f004ac00 (con 0x30000110 => 0x30000110)
[ 412.840000] gpx1 @ f004ac20 (con 0x1f10ff10 => 0x1f10ff10)
[ 412.840000] gpx2 @ f004ac40 (con 0x1f000f0f => 0x1f000f0f)
[ 412.840000] gpx3 @ f004ac60 (con 0x00f00f01 => 0x00f00f01)

-Doug


\
 
 \ /
  Last update: 2013-05-17 02:21    [W:0.056 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site