]> git.kernelconcepts.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>
Thu, 13 Oct 2011 06:49:54 +0000 (17:49 +1100)
commitd7177799de39758a8b8d3a28afae5b068dbfbfe3
tree8c9543eb79a0a92e2958b006b90fea97772b4f2d
parent6eb7a80a2c0780a8bfac31f74766bfeac43071c2
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