Messages in this thread | | | From | Joshua Clayton <> | Subject | Re: [PATCH 9/9] rtc-pcf2123: adjust the clock rate via sysfs | Date | Wed, 18 Nov 2015 15:51:35 -0800 |
| |
On Wednesday, November 04, 2015 07:36:40 AM Joshua Clayton wrote: > pcf2123 has an offset register, which can be used to make minor > adjustments to the clock rate to compensate for temperature or > a crystal that is not exactly right. > > The adjustment is calculated in parts per billion. The data sheet > uses parts per million (as do some others), but with 2 digits of > precision. Since floating point is forbidden, parts per billion is > a better fit. > > Add a pair of sysfs files to seetand retrieve the offset in ppm. Bah. I noticed a couple of typos in the last line of the commit message. Will get rid of "in ppm" since it is not in ppm. s/seetand/set and/
-- ~Joshua Clayton
| |