diff options
author | Tony Lindgren <tony@atomide.com> | 2007-07-17 07:06:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:15 -0400 |
commit | 0c4a59fed41bdd4c30ce0999a87f30a812f29ee2 (patch) | |
tree | 8e88b4fdf538afb7bc9d740765a1a49ac148ba32 /drivers/rtc | |
parent | 969529021a5c3df74ea8f10d329b2427e559a90f (diff) |
OMAP: add TI TWL92330/Menelaus Power Management chip driver
Add Texas Instruments TWL92330/Menelaus Power Management chip driver. This
includes voltage regulators, Dual slot memory card tranceivers and
real-time clock(RTC).
The support for RTC is integrated with this driver only; it is not separate
module. Passes 'rtctest' on OMAP H4 EVM, other than lack of "periodic"
(1/N second) IRQs. System wakeup alarms (from suspend-to-RAM) work too.
The battery keeps the RTC active over power off, so once you set clock
(rdate/ntpdate/etc, then "hwclock -w") then RTC_HCTOSYS at boot time will
behave as expected.
Cc: "Jean Delvare" <khali@linux-fr.org>
Cc: "Tony Lindgren" <tony@atomide.com>
Cc: "David Brownell" <david-b@pacbell.net>
Signed-off-by: Trilok Soni <soni.trilok@gmail.com>
Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 6210280135c8..cea401feb0f3 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -231,6 +231,15 @@ config RTC_DRV_M41T80_WDT | |||
231 | If you say Y here you will get support for the | 231 | If you say Y here you will get support for the |
232 | watchdog timer in ST M41T80 RTC chips series. | 232 | watchdog timer in ST M41T80 RTC chips series. |
233 | 233 | ||
234 | config RTC_DRV_TWL92330 | ||
235 | boolean "TI TWL92330/Menelaus" | ||
236 | depends on RTC_CLASS && I2C && MENELAUS | ||
237 | help | ||
238 | If you say yes here you get support for the RTC on the | ||
239 | TWL92330 "Menelaus" power mangement chip, used with OMAP2 | ||
240 | platforms. The support is integrated with the rest of | ||
241 | the Menelaus driver; it's not separate module. | ||
242 | |||
234 | comment "SPI RTC drivers" | 243 | comment "SPI RTC drivers" |
235 | depends on RTC_CLASS && SPI_MASTER | 244 | depends on RTC_CLASS && SPI_MASTER |
236 | 245 | ||