rtc: add support for ST M41T94 SPI RTC
authorKim B. Heino <Kim.Heino@bluegiga.com>
Thu, 24 Jul 2008 04:30:34 +0000 (21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:33 +0000 (10:47 -0700)
commit8fc2c767b06067b417c565c4e75731e68ed41fd8
tree7ae425a9fb09bacec67c55f1a412e4585e1836a9
parent5ad31a575157147b43fa84ef1e21471661653878
rtc: add support for ST M41T94 SPI RTC

This patch adds kernel driver for M41T94 RTC chip connected via SPI.
I've tested it on two different AT91-based hardwares.

This is third revision of the patch: some comments made by
Alessandro Zummo fixed.

Revision two added support for century bit and fixes.

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-m41t94.c [new file with mode: 0644]