Joshua Clayton
b3967067c2
rtc: Add functions to set and read rtc offset
...
A number of rtc devices, such as the NXP pcf2123 include a facility
to adjust the clock in order to compensate for temperature or a
crystal, capacitor, etc, that results in the rtc clock not running
at exactly 32.768 kHz.
Data sheets I have seen refer to this as a clock offset, and measure it
in parts per million, however they often reference ppm to 2 digits of
precision, which makes integer ppm less than ideal.
We use parts per billion, which more than covers the precision needed
and works nicely within 32 bits
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com >
2016-03-14 17:08:15 +01:00
..
2016-01-21 19:36:08 +01:00
2016-01-20 18:03:56 -08:00
2016-03-14 17:08:13 +01:00
2016-01-23 18:45:06 -08:00
2016-01-23 18:45:06 -08:00
2016-01-24 12:50:56 -08:00
2016-01-20 18:42:30 -08:00
2016-01-23 18:45:06 -08:00
2016-01-17 19:13:15 -08:00
2016-01-24 03:47:37 +01:00
2016-01-24 03:49:03 +01:00
2016-01-21 19:58:02 -08:00
2016-01-20 17:20:53 -08:00
2016-01-16 11:17:25 -08:00
2016-01-20 17:09:18 -08:00
2016-01-22 17:02:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 22:08:45 +01:00
2016-01-16 11:17:24 -08:00
2016-01-23 12:24:56 -08:00
2016-01-21 17:20:51 -08:00
2016-01-15 17:56:32 -08:00
2016-01-23 18:45:06 -08:00
2016-01-20 17:09:18 -08:00
2016-01-16 11:17:23 -08:00
2016-01-16 11:17:22 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-21 11:52:16 -08:00
2016-01-14 16:08:23 -08:00
2016-01-14 16:08:23 -08:00
2016-01-15 12:30:35 -06:00
2016-01-15 17:56:32 -08:00
2016-01-22 17:02:18 -08:00
2016-01-15 17:29:37 -06:00
2016-01-21 11:52:16 -08:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2016-01-19 19:25:21 -05:00
2016-01-22 17:02:18 -08:00
2016-01-16 11:17:22 -08:00
2016-01-16 11:17:29 -08:00
2016-01-20 17:09:18 -08:00
2016-01-22 17:02:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2016-03-14 17:08:15 +01:00
2016-01-22 10:24:03 -08:00
2016-01-20 17:09:18 -08:00
2016-01-22 18:08:52 -05:00
2016-01-15 14:35:24 -05:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-15 22:34:39 +01:00
2016-01-18 14:49:33 -05:00
2016-01-15 17:56:32 -08:00