rtc: tps65910: Add RTC calibration support
authorVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Fri, 23 Dec 2016 11:15:58 +0000 (13:15 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Jan 2017 00:32:33 +0000 (01:32 +0100)
commitaecb57da7ae9df1f9c2eb11788888b135ddc0203
treeaf6d68f72221bba0372808210cd4749fc3b43de1
parent666b5d1e9f8762300a410f9548b6e370d71dd382
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>
drivers/rtc/rtc-tps65910.c
include/linux/mfd/tps65910.h