]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: add MAX8907 RTC driver
authorStephen Warren <swarren@nvidia.com>
Fri, 21 Sep 2012 01:02:17 +0000 (11:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:59:18 +0000 (15:59 +1000)
commit8c3167d8e0673a06e2a98980734e251dea56cee3
tree214dee88710bbdda8d5610037d5938c5d7575b9b
parent8b221b3dd599b38e6886e34ab5c74c9880a349f8
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]