]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: add MAX8907 RTC driver
authorStephen Warren <swarren@nvidia.com>
Fri, 28 Sep 2012 00:20:33 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:54 +0000 (15:03 +1000)
commite71c362cd19e0a2e9e9c6b09a65e76b937dad047
treefd0b3c928c5f4d40294ed0d032ed25d3024dad25
parent069b0fb7a792de22b37f1a00cae776fbadc9899f
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]