Add support for DS1388.
authorKenth Eriksson <kenth.eriksson@transmode.com>
Thu, 12 Jul 2012 19:59:44 +0000 (19:59 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 10 Aug 2012 21:46:54 +0000 (23:46 +0200)
commit8fde2f3a95c555903b54249f6d7ccab859ee2d6f
tree3528f701521f666e299c6fcb2ab8a506ea7bc96f
parenta4ff471970e8f749dc16643ee7e354a3fcfa2ad7
Add support for DS1388.

Support for DS1388 is added by extending the DS1337 driver. DS1388 is
similar to DS1337. The time registers are offset by 1 (due to support
for hundreds of seconds), and there is no century bit.
The configuration and trickle charge registers are also different.
Tested on hardware with Freescale P2010 and DS1388.

Signed-off-by: Kenth Eriksson <kenth.eriksson@transmode.com>
drivers/rtc/Makefile
drivers/rtc/ds1337.c