diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-07-17 07:05:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:09 -0400 |
commit | caaff562e0ba44a7991ee8322fa4a6891d939757 (patch) | |
tree | 64be9b44b48c450613e395a7cc2c462f82cfc77a /drivers/rtc/Kconfig | |
parent | 5663c14b4f3e22aece38970f9765ceb090efbb8c (diff) |
rtc: add rtc-m41t80 driver
This is a new-style i2c driver for ST M41T80 series RTC chip, derived from
works by Alexander Bigga <ab@mycable.de> who wrote the original
rtc-m41txx.c based on drivers/i2c/chips/m41t00.c driver.
This driver supports M41T8[0-4] and M41ST8[457]. The old m41t00 driver
supports M41T00, M41T81 and M41T85(M41ST85). While the M41T00 chip is now
supported by rtc-ds1307 driver, this driver does not include support for
the chip.
[akpm@linux-foundation.org: remove bogus `static']
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Alexander Bigga <ab@mycable.de>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Alessandro Zummo <a.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/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 25bea05ffaaa..fb9ce745cd30 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -212,6 +212,18 @@ config RTC_DRV_PCF8583 | |||
212 | This driver can also be built as a module. If so, the module | 212 | This driver can also be built as a module. If so, the module |
213 | will be called rtc-pcf8583. | 213 | will be called rtc-pcf8583. |
214 | 214 | ||
215 | config RTC_DRV_M41T80 | ||
216 | tristate "ST M41T80 series RTC" | ||
217 | depends on RTC_CLASS && I2C | ||
218 | help | ||
219 | If you say Y here you will get support for the | ||
220 | ST M41T80 RTC chips series. Currently following chips are | ||
221 | supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85 | ||
222 | and M41ST87. | ||
223 | |||
224 | This driver can also be built as a module. If so, the module | ||
225 | will be called rtc-m41t80. | ||
226 | |||
215 | comment "SPI RTC drivers" | 227 | comment "SPI RTC drivers" |
216 | depends on RTC_CLASS && SPI_MASTER | 228 | depends on RTC_CLASS && SPI_MASTER |
217 | 229 | ||