kernel-ark/arch/arm/plat-s3c64xx
Ben Dooks d87964c460 [ARM] S3C: GPIO PM core GPIOlib integration
Move the GPIO suspend/resume support inline with the gpiolib support
so that it will work with both the S3C24XX and S3C64XX series.

The s3c_gpio_chip is extended to have a pm callback and a save block
to keep the state of the GPIO over suspend, and the code from the
s3c24xx implementation is added to a new common file.

The suspend process now uses the list of registered chips to go through
saving and restoring each one as appropriate, using the pm callback to
select the appropriate routine depending on the type of control register
present.

This change also means that any additional GPIO added should not require
changes to the PM.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-05-07 11:04:56 +01:00
..
include/plat [ARM] S3C64XX: Initial support for PM (suspend to RAM) 2009-05-07 11:04:55 +01:00
clock.c [ARM] S3C64XX: Fix section mismatch for s3c64xx_register_clocks() 2009-02-26 23:16:38 +00:00
cpu.c [ARM] S3C64XX: Add generic s3c64xx sys device. 2009-05-07 11:04:56 +01:00
dev-uart.c [ARM] S3C64XX: Add UARTdevice definitions 2008-12-15 21:49:46 +00:00
gpiolib.c [ARM] S3C: GPIO PM core GPIOlib integration 2009-05-07 11:04:56 +01:00
irq-eint.c [ARM] S3C64XX: Initial support for PM (suspend to RAM) 2009-05-07 11:04:55 +01:00
irq-pm.c [ARM] S3C64XX: Add IRQ PM code 2009-05-07 11:04:56 +01:00
irq.c [ARM] S3C64XX: Add IRQ PM code 2009-05-07 11:04:56 +01:00
Kconfig [ARM] S3C64XX: Add USB OHCI support 2009-05-07 11:04:55 +01:00
Makefile [ARM] S3C64XX: Add IRQ PM code 2009-05-07 11:04:56 +01:00
pm.c [ARM] S3C: GPIO PM core GPIOlib integration 2009-05-07 11:04:56 +01:00
s3c6400-clock.c [ARM] S3C64XX: Fix s3c64xx_setrate_clksrc 2009-02-27 11:34:01 +00:00
s3c6400-init.c [ARM] S3C64XX: Common init code for S3C6400 and S3C6410 2008-12-15 21:53:14 +00:00
setup-fb-24bpp.c [ARM] S3C64XX: Add standard S3C64XX 24BPP LCD GPIO setup 2008-12-15 23:57:19 +00:00
setup-i2c0.c [ARM] S3C64XX: Add i2c device setup for I2C device 0 2008-12-15 23:42:21 +00:00
setup-i2c1.c [ARM] S3C64XX: Setup functions for i2c bus 1. 2008-12-15 23:43:29 +00:00
sleep.S [ARM] S3C64XX: Initial support for PM (suspend to RAM) 2009-05-07 11:04:55 +01:00