Messages in this thread | | | Date | Thu, 16 May 2013 16:55:28 -0700 | Subject | Re: [PATCH 1/2] pinctrl: samsung: fix suspend/resume functionality | From | Doug Anderson <> |
| |
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
| |