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-01-13 16:00:32 +01:00
2015-12-29 10:08:45 +01:00
2016-01-07 10:10:50 -05: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-05 18:04:58 +01:00
2016-01-07 09:55:39 -08:00
2015-12-28 18:43:15 +01:00
2016-01-24 12:50:56 -08:00
2016-01-12 18:26:10 +00:00
2016-01-20 18:42:30 -08:00
2016-01-11 16:48:35 +00:00
2016-01-23 18:45:06 -08:00
2016-01-13 09:26:40 -08:00
2016-01-12 01:10:19 +01:00
2015-12-23 08:37:10 -07:00
2016-01-04 16:19:57 +00:00
2016-01-14 13:40:30 +01:00
2016-01-17 19:13:15 -08:00
2016-01-09 08:39:04 -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-12 19:20:32 -08:00
2016-01-12 19:20:32 -08:00
2015-12-23 13:08:56 -08:00
2016-01-20 17:20:53 -08:00
2016-01-16 11:17:25 -08:00
2016-01-01 03:49:51 +01:00
2016-01-20 17:09:18 -08:00
2016-01-22 17:02:18 -08:00
2016-01-14 16:00:49 -08:00
2015-12-30 13:01:03 -05:00
2016-01-13 17:30:32 +09:00
2016-01-08 01:12:06 +01:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-06 15:17:47 +05:30
2016-01-15 22:08:45 +01:00
2016-01-04 10:58:35 +01:00
2016-01-16 11:17:24 -08:00
2016-01-06 16:31:56 -05:00
2016-01-08 21:40:34 -05:00
2016-01-23 12:24:56 -08:00
2016-01-14 16:00:49 -08:00
2016-01-12 20:04:15 -08:00
2015-12-22 17:10:17 -06:00
2016-01-09 22:42:31 -08:00
2016-01-14 16:00:49 -08:00
2015-12-28 13:41:50 +01:00
2016-01-21 17:20:51 -08:00
2016-01-15 17:56:32 -08:00
2016-01-13 11:06:03 +01:00
2016-01-23 18:45:06 -08:00
2016-01-20 17:09:18 -08:00
2015-12-29 10:08:45 +01: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-04 09:57:40 +01:00
2016-01-11 19:33:59 -08:00
2016-01-09 08:39:03 -08:00
2016-01-13 13:04:11 -07:00
2016-01-20 17:09:18 -08:00
2016-01-15 17:56:32 -08:00
2015-12-24 11:09:40 -05:00
2016-01-20 17:09:18 -08:00
2016-01-07 14:31:27 -05: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-14 16:00:49 -08:00
2016-01-15 17:56:32 -08:00
2016-01-14 16:00:49 -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-14 16:00:49 -08:00
2016-01-21 11:52:16 -08:00
2016-01-09 03:07:52 -05:00
2016-01-11 23:28:44 -05:00
2016-01-14 16:08:23 -08:00
2015-12-28 09:57:15 -05:00
2016-01-14 16:08:23 -08:00
2016-01-04 13:19:55 -05:00
2016-01-05 11:20:12 +01: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-07 14:31:27 -05:00
2016-01-19 19:25:21 -05:00
2016-01-12 20:25:09 -08:00
2016-01-08 01:12:06 +01:00
2016-01-08 01:12:06 +01:00
2016-01-22 17:02:18 -08:00
2016-01-16 11:17:22 -08:00
2016-01-02 00:29:35 +01:00
2016-01-16 11:17:29 -08:00
2016-01-01 02:09:51 +01: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-05 19:07:17 +00:00
2016-01-15 17:56:32 -08:00
2016-03-14 17:08:15 +01:00
2016-01-10 22:13:15 -05:00
2016-01-22 10:24:03 -08:00
2015-12-24 11:09:40 -05:00
2016-01-04 16:11:11 -05: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-06 11:02:29 +01:00
2016-01-04 10:20:19 -05:00
2016-01-20 17:09:18 -08:00
2015-12-29 16:00:00 +08:00
2016-01-14 16:00:49 -08:00
2016-01-15 22:34:39 +01:00
2016-01-18 14:49:33 -05:00
2016-01-12 20:04:15 -08:00
2016-01-12 20:47:06 +02:00
2016-01-12 20:47:02 +02:00
2016-01-15 17:56:32 -08:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-01-12 18:57:02 -08:00
2016-01-11 21:53:59 +01:00