• Stephen Warren's avatar
    rtc: add MAX8907 RTC driver · 94c01ab6
    Stephen Warren authored
    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: default avatarStephen 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    94c01ab6
Makefile 4.82 KB