Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757426AbbKRXvl (ORCPT ); Wed, 18 Nov 2015 18:51:41 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36339 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757220AbbKRXvk (ORCPT ); Wed, 18 Nov 2015 18:51:40 -0500 From: Joshua Clayton To: Alessandro Zummo Cc: Alexandre Belloni , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 9/9] rtc-pcf2123: adjust the clock rate via sysfs Date: Wed, 18 Nov 2015 15:51:35 -0800 Message-ID: <3618154.iGh6Vcis4K@jclayton-pc> User-Agent: KMail/5.0.2 (Linux/4.2.0-18-generic; KDE/5.15.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 23 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/