]> 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>
Thu, 6 Oct 2011 06:00:02 +0000 (17:00 +1100)
commit89666c790bcf45f8b8ddc1b5955d1c3afd61ae81
tree23affb406ac6900a0f46e439e1b04ef57638748b
parent1970ff02ba715b438fdd0f9a08f7249ea6e2ae91
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