Alexandre Belloni 85370d3dd0 rtc: pcf85063: add offset correction support
The PCF850363 has an offset correction with two modes:

With mode 0, the correction is triggered once every two hours and then
correction pulses are applied once per minute until the programmed
correction values have been implemented. This gives a step of 4.34 ppm.

With mode 1, the correction is triggered once every four minutes and then
correction pulses are applied once per second up to a maximum of 60 pulses.
When correction values greater than 60 pulses are used, additional
correction pulses are made in the 59 th second. This gives a step of 4.069
ppm.

Use the correction closest to the requested value.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2019-04-04 10:07:11 +02:00
..
2019-04-04 10:07:11 +02:00
2019-04-04 10:07:10 +02:00
2018-09-28 14:36:49 +02:00
2019-04-04 10:07:10 +02:00
2018-03-17 14:20:56 +01:00
2019-01-22 19:18:27 +01:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2017-09-01 01:10:11 +02:00
2019-03-03 22:12:38 +01:00
2018-05-03 22:08:00 +02:00
2018-05-18 09:38:22 +02:00
2018-12-10 22:39:47 +01:00
2018-12-10 22:39:49 +01:00
2018-12-10 22:39:52 +01:00
2019-04-04 10:06:54 +02:00
2018-05-03 22:08:00 +02:00
2019-04-04 10:07:10 +02:00
2018-12-10 22:40:01 +01:00
2018-06-07 20:11:08 +02:00
2018-12-10 22:40:03 +01:00
2016-05-20 12:33:51 +02:00
2017-09-05 09:55:02 +02:00
2019-02-17 21:29:10 +01:00
2019-03-04 20:21:19 +01:00
2018-12-10 22:40:05 +01:00
2018-12-10 22:40:07 +01:00
2018-12-10 22:40:10 +01:00
2019-04-04 10:07:09 +02:00
2018-05-23 09:26:19 +02:00
2018-05-03 22:08:00 +02:00
2018-12-10 22:40:12 +01:00
2018-05-17 22:37:11 +02:00
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-03-18 03:36:01 +01:00