Searched hist:"653 ebd75e9e469e99a40ab14128d915386dc78c6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-pcf2127.c | diff 653ebd75e9e469e99a40ab14128d915386dc78c6 Tue Jun 16 04:39:47 CDT 2015 Andrea Scian <andrea.scian@dave.eu> rtc: pcf2127: use OFS flag to detect unreliable date and warn the user
The PCF2127 datasheet states that it's wrong to say that the date in unreliable if BLF (battery low flag) is set but instead, OSF (seconds register) should be used to check if oscillator, for any reason, stopped. Battery may be low (usually below 2V5 threshold) but the date may be anyway correct (typically date is unreliable when input voltage is below 1V2).
Signed-off-by: Andrea Scian <andrea.scian@dave.eu> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
|