diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-10-04 20:13:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:02 -0400 |
commit | 94c01ab6d754435333a989e3c6f4a20f57537754 (patch) | |
tree | d1a29e90c08b9ca50c5f5c9cc9a3f30e713bae6a /drivers/rtc/Kconfig | |
parent | 0e783980b84e7253ba98552d092d1f45ed262d66 (diff) |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 6309df4e2654..499fb9984abe 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -205,6 +205,16 @@ config RTC_DRV_MAX6900 | |||
205 | This driver can also be built as a module. If so, the module | 205 | This driver can also be built as a module. If so, the module |
206 | will be called rtc-max6900. | 206 | will be called rtc-max6900. |
207 | 207 | ||
208 | config RTC_DRV_MAX8907 | ||
209 | tristate "Maxim MAX8907" | ||
210 | depends on MFD_MAX8907 | ||
211 | help | ||
212 | If you say yes here you will get support for the | ||
213 | RTC of Maxim MAX8907 PMIC. | ||
214 | |||
215 | This driver can also be built as a module. If so, the module | ||
216 | will be called rtc-max8907. | ||
217 | |||
208 | config RTC_DRV_MAX8925 | 218 | config RTC_DRV_MAX8925 |
209 | tristate "Maxim MAX8925" | 219 | tristate "Maxim MAX8925" |
210 | depends on MFD_MAX8925 | 220 | depends on MFD_MAX8925 |