• Mark A. Greer's avatar
    [PATCH] I2C: add ST M41T00 I2C RTC chip driver · 4315f2ed
    Mark A. Greer authored
    This patch adds support for the ST M41T00 I2C RTC chip.
    
    This rtc chip has no mechanism to freeze it's registers while being
    read; however, it will delay updating the external values of the
    registers for 250ms after a register is read.  To ensure that a sane
    time value is read, the driver verifies that the same registers values
    were read twice before returning.
    
    Also, when setting the rtc from an interrupt handler, a tasklet is used
    to provide the context required by the i2c core code.
    Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    4315f2ed
Kconfig 11.4 KB