]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: add initial support for mcp7941x parts
authorDavid Anders <danders.dev@gmail.com>
Mon, 24 Oct 2011 14:59:04 +0000 (01:59 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 08:41:37 +0000 (19:41 +1100)
commitf84135ed04c21ec28195c4a6b57221dcb414b0e8
treead4f6f92e84d446abbd0165bdf26eada540fac92
parent27a7d976592265715be4ca256f5a08afc9b78c7c
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