[PATCH 0/2] Fix suspend/resume issues created by pinmux on exynos

From: Doug Anderson
Date: Thu May 16 2013 - 13:18:14 EST



This set of patches fixes some problems with suspend/resume that were
introduced by the switch from the old gpio code to the new pinmux
code. Specifically:
* It adds saving and restoring of pincontrol registers.
* It fixes eint wakeups.

This set of two patches was verified on a backport of the current
pinmux code onto 3.8 on a Samsung ARM Chromebook. Suspend/resume does
not seem functional on the ARM Chromebook on current ToT Linux so I
couldn't validate there. This gets us one step closer, though! Since
patches applied cleanly I'm fairly certain that they will work on ToT
as well as they do in our tree.

These patches have only been tested on exynos5250. I have made an
effort to support other samsung boards (even those with two CONF
registers), but that support is untested.

Tomasz Figa has said that he has similar patches in development. I'm
posting what we have here but if Tomasz's patches end up being more
suitable I have no objections to taking them over these (or of Tomasz
wants to merge the two?).

If you'd like to see the gerrit reviews of these in the Chrome OS tree,
you can see:
* https://gerrit.chromium.org/gerrit/#/c/51336/4
* https://gerrit.chromium.org/gerrit/#/c/51342/3


Doug Anderson (1):
pinctrl: samsung: fix suspend/resume functionality

Prathyush K (1):
pinctrl: exynos: fix eint wakeup by using irq_set_wake()

drivers/pinctrl/pinctrl-exynos.c | 45 ++++++---
drivers/pinctrl/pinctrl-exynos.h | 3 +-
drivers/pinctrl/pinctrl-samsung.c | 199 ++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/pinctrl-samsung.h | 13 +++
4 files changed, 247 insertions(+), 13 deletions(-)

--
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/