|author||Mark Brown <firstname.lastname@example.org>||2009-08-27 19:59:05 +0200|
|committer||Samuel Ortiz <email@example.com>||2009-09-17 09:47:13 +0200|
rtc: Add support for RTCs on Wolfson WM831x devices
The WM831x series of PMICs contain RTC functionality. The hardware provides a 32 bit counter incrementing at 1Hz together with a per tick interrupt and an alarm value. For simplicity the driver chooses to define the epoch for the counter as the Unix epoch - if required platform data can be used in future to customise this. When powered on from a completely cold state the RTC reports that it has not been configured - when this happens an error is returned when attempting to read the RTC in order to avoid use of values we know to be invalid. The hardware also provides security features which mean that it can ignore attempts to set the RTC time in certain circumstances, most notably if the RTC is written to too often. These errors are detected by verifying the written RTC value. Signed-off-by: Mark Brown <firstname.lastname@example.org> Acked-by: Alessandro Zummo <email@example.com> Signed-off-by: Samuel Ortiz <firstname.lastname@example.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 81adbdbd504..b136299a237 100644
@@ -518,6 +518,16 @@ config RTC_DRV_V3020
This driver can also be built as a module. If so, the module
will be called rtc-v3020.
+ tristate "Wolfson Microelectronics WM831x RTC"
+ depends on MFD_WM831X
+ If you say yes here you will get support for the RTC subsystem
+ of the Wolfson Microelectronics WM831X series PMICs.
+ This driver can also be built as a module. If so, the module
+ will be called "rtc-wm831x".
tristate "Wolfson Microelectronics WM8350 RTC"
depends on MFD_WM8350