rtc: tps65910: Add RTC calibration support
Texas Instrument's TPS65910 has support for compensating RTC crystal inaccuracies. When enabled every hour RTC counter value will be compensated with two's complement value. Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:

committed by
Alexandre Belloni

parent
666b5d1e9f
commit
aecb57da7a
@@ -134,6 +134,7 @@
|
||||
|
||||
/* RTC_CTRL_REG bitfields */
|
||||
#define TPS65910_RTC_CTRL_STOP_RTC 0x01 /*0=stop, 1=run */
|
||||
#define TPS65910_RTC_CTRL_AUTO_COMP 0x04
|
||||
#define TPS65910_RTC_CTRL_GET_TIME 0x40
|
||||
|
||||
/* RTC_STATUS_REG bitfields */
|
||||
|
Reference in New Issue
Block a user