davinci: da850/omap-l138: add support for SoC suspend
authorSekhar Nori <nsekhar@ti.com>
Thu, 17 Dec 2009 12:59:32 +0000 (18:29 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:56 +0000 (13:29 -0800)
commit044ca01521d077a35b46a445b02b93f413109a4b
tree0db27839f84fd697c7cb4256a700c9b4748106da
parentefc1bb8a6fd56f6df5b797dff5156c935175c319
davinci: da850/omap-l138: add support for SoC suspend

This patch adds support for registering for suspend-to-RAM
functionality on da850/omap-l138 SoCs.

da850 supports wakeup based on external event and RTC
alarm.

Currently only RTC alarm based wakeup is supported.
Support for wakeup based on external event will be
added as later improvements.

For scheduling an alarm event on RTC some useful code
is present in Documentation/rtc.txt

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/include/mach/da8xx.h
arch/arm/mach-davinci/include/mach/mux.h