]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: add initial support for mcp7941x parts
authorDavid Anders <danders.dev@gmail.com>
Wed, 5 Oct 2011 00:43:43 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:44:08 +0000 (19:44 +1100)
commit9e52108ab6f45d480b4223c4cd7601d0cd14239e
tree6ea4c19b4cc196e3fa7d93d4be319b94e103b049
parentd3c3da8fddd31cb3a0d805caeea78164d5841731
rtc: add initial support for mcp7941x parts

Add initial support for the microchip mcp7941x series of real time clocks.

The mcp7941x series is generally compatible with the ds1307 and ds1337 rtc
devices from dallas semiconductor.  minor differences include a backup
battery enable bit, and the polarity of the oscillator enable bit.

Signed-off-by: David Anders <danders.dev@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ds1307.c