]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: add MAX8907 RTC driver
authorStephen Warren <swarren@nvidia.com>
Fri, 7 Sep 2012 00:24:57 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 06:18:20 +0000 (16:18 +1000)
commit67018c4ec4938c58b63e47a9bbdb8b5b0d3b594d
tree78ef9ae896694e76301c6c3a203eb3a7e5d087b9
parentfc5d86ab0b2d6043f49d281145f89ab31722ef74
rtc: add MAX8907 RTC driver

The MAX8907 is an I2C-based power-management IC containing voltage
regulators, a reset controller, a real-time clock, and a touch-screen
controller.

The driver is based on an original by or fixed by:
* Tom Cherry
* Prashant Gaikwad
* Joseph Yoon

During upstreaming, I (swarren):
* Converted to regmap.
* Fixed handling of RTC_HOUR register containing 12.
* Fixed handling of RTC_WEEKDAY register.
* General cleanup.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Cc: Tom Cherry <tcherry@nvidia.com>
Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
Cc: Joseph Yoon <tyoon@nvidia.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-max8907.c [new file with mode: 0644]