]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: add MAX8907 RTC driver
authorStephen Warren <swarren@nvidia.com>
Wed, 26 Sep 2012 01:34:36 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:13 +0000 (17:28 +1000)
commit95742a78b5460bfb4039de603ff0dc0233ac255d
tree467132e4c6b534c430ac183bfd8b4a42bf25c458
parent21d2ce7f329b0ab46d3ada46c0166e355753f91e
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]