diff options
author | David Brownell <david-b@pacbell.net> | 2006-06-25 08:48:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:13 -0400 |
commit | 1abb0dc92d706e8c73c7a62ca813738fe2259a7f (patch) | |
tree | fb7d8d35431ba09db1c94f2211c56dad64c6687e /drivers/rtc/Kconfig | |
parent | 3eecd1dc57971b2beff699b3704058866c25dedc (diff) |
[PATCH] "RTC-framework" driver for DS1307 and similar RTC chips
This is an "RTC-framework" driver for DS1307 and similar RTC chips,
It should be a full replacement for the existing ds1337.c driver (using the
older RTC glue), giving a net increase in the number of RTC chips that work
out-of-the-box. There's a whole cluster of RTCs that are very similar, but
the 1337 driver was a bit too picky to work with most of them.
Still no support for RTC alarm IRQs (on chips that support them).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 875ff5e5792a..9e249650baf0 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -86,6 +86,24 @@ config RTC_DRV_X1205 | |||
86 | This driver can also be built as a module. If so, the module | 86 | This driver can also be built as a module. If so, the module |
87 | will be called rtc-x1205. | 87 | will be called rtc-x1205. |
88 | 88 | ||
89 | config RTC_DRV_DS1307 | ||
90 | tristate "Dallas/Maxim DS1307 and similar I2C RTC chips" | ||
91 | depends on RTC_CLASS && I2C | ||
92 | help | ||
93 | If you say yes here you get support for various compatible RTC | ||
94 | chips (often with battery backup) connected with I2C. This driver | ||
95 | should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00, | ||
96 | and probably other chips. In some cases the RTC must already | ||
97 | have been initialized (by manufacturing or a bootloader). | ||
98 | |||
99 | The first seven registers on these chips hold an RTC, and other | ||
100 | registers may add features such as NVRAM, a trickle charger for | ||
101 | the RTC/NVRAM backup power, and alarms. This driver may not | ||
102 | expose all those available chip features. | ||
103 | |||
104 | This driver can also be built as a module. If so, the module | ||
105 | will be called rtc-ds1307. | ||
106 | |||
89 | config RTC_DRV_DS1672 | 107 | config RTC_DRV_DS1672 |
90 | tristate "Dallas/Maxim DS1672" | 108 | tristate "Dallas/Maxim DS1672" |
91 | depends on RTC_CLASS && I2C | 109 | depends on RTC_CLASS && I2C |