Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1272688
| From | Joshua Clayton <stillcompiling@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 9/9] rtc-pcf2123: adjust the clock rate via sysfs |
| Date | 2015-11-19 01:00 +0100 |
| Message-ID | <qwkNP-1An-1@gated-at.bofh.it> (permalink) |
| References | <qr8kh-2go-9@gated-at.bofh.it> <qr8kk-2go-71@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 9/9] rtc-pcf2123: adjust the clock rate via sysfs Joshua Clayton <stillcompiling@gmail.com> - 2015-11-19 01:00 +0100
csiph-web