]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: add initial support for mcp7941x parts
authorDavid Anders <danders.dev@gmail.com>
Wed, 2 Nov 2011 20:37:53 +0000 (13:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:06:58 +0000 (16:06 -0700)
commit4175fc040d42eead23d7c4a166a2b9b5c540f00e
treeb90b46aeb521d7151d55674c29efde57ebb6f174
parent8a912f4d55814c52b40478bd48348426255963d2
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1307.c