]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc-m48t59: add support for M48T02 and M48T59 chips
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 3 Sep 2008 22:12:34 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 22:39:11 +0000 (15:39 -0700)
commit94fe7424a4c21940b4569200faaf0a0a5efd2924
tree1c19837578b0774008df1e2430cf32353cf95286
parent3ca60f6e637cee8c735a7448fd912fe1a6e42fc1
rtc-m48t59: add support for M48T02 and M48T59 chips

Add support for two compatible RTC:
- M48T08 which does not have alarm part,
- M48T08 which does not have alarm part and has
  only 2KB of NVRAM

These types covers all Mostek's RTC used in Sun UltraSparc workstations.

Tested on Sun Ultra60 with M48T59 RTC.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/rtc/Kconfig
drivers/rtc/rtc-m48t59.c
include/linux/rtc/m48t59.h