]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: SAMSUNG: Add support for pre-sleep/post-restore gpio control
authorBen Dooks <ben-linux@fluff.org>
Wed, 1 Jun 2011 09:44:50 +0000 (10:44 +0100)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 14:13:20 +0000 (23:13 +0900)
commit31a15fe9933c012321d349f00fdca17805c909d5
treeab533c42d30e54e2adae694e8b27558005c82518
parentc5883bd40bae8ed74b97cc0598c4e290582f6722
ARM: SAMSUNG: Add support for pre-sleep/post-restore gpio control

Add a callback so that per-arch can do pre-sleep and post-resume
gpio configuration so that for the S3C64XX, the GPIO configuration
is restored before the sleep mode is cleared.

For the S3C64XX case, it means that the GPIOs get set back to normal
operation after the restore code puts the original configurations
back in after the

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2410/include/mach/pm-core.h
arch/arm/mach-s3c64xx/include/mach/pm-core.h
arch/arm/mach-s5pv210/include/mach/pm-core.h
arch/arm/plat-samsung/pm.c