d87964c460
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> |
||
---|---|---|
.. | ||
include | ||
Kconfig | ||
Makefile | ||
adc.c | ||
clock-dclk.c | ||
clock.c | ||
common-smdk.c | ||
cpu.c | ||
devs.c | ||
dma.c | ||
gpio.c | ||
gpiolib.c | ||
irq-pm.c | ||
irq.c | ||
pm-simtec.c | ||
pm.c | ||
pwm.c | ||
s3c244x-clock.c | ||
s3c244x-irq.c | ||
s3c244x.c | ||
s3c244x.h | ||
s3c2410-clock.c | ||
setup-i2c.c | ||
sleep.S | ||
spi-bus0-gpe11_12_13.c | ||
spi-bus1-gpg5_6_7.c |