Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp992562imm; Wed, 19 Sep 2018 10:08:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZllyyIg+tiL801bvxFeikjNvKW32Hy0Qp+SZ01PN2tk+a70Wxh5MnjgASSsTIB8IMJe681 X-Received: by 2002:a62:1bc2:: with SMTP id b185-v6mr37409226pfb.170.1537376908114; Wed, 19 Sep 2018 10:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537376908; cv=none; d=google.com; s=arc-20160816; b=qGUhIq7MD7fj8cVKExN+RTI/bEQaTZ/FHf8pblhpJ0tHHic8CzzbNjzDWg0YVt42Al NuEJXJr1mHB+oBy+mRIs/fRdXS5cNZkJ5uYjoL7gU/CtvfzJsqookR6+hRKiK+IgN37K d6mLFm0V0zePKHIRopq4v3AM6FEtSQFb6N3d7UL5tfapl3qSNdJZ1y7A6EimXZfx7wIT LPK0VMApOcxLV44P4jel1jn6jv/tW2XGoohMeGqymK5R2FT6aVA8/rKA6EqtR51BmqVC 4yjjXB8Zl0gHqGtshB1P7vzHiIcKKAzhQozlOksbpzZ3oQyGTQWsaefVT5svlRRIPnpi MTsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=H0ZFbaHL9jW3qxj0cpU7KNMPeJZZwP+5Sk6L994QhBA=; b=ygILXjhdiLIjCO43t4JFWgKLMcnFY2OIDR9SIHQToGUX3FT2VadZdN0CD56aBHE6cS 2YcHo0DzbTb3nsHhZRX1MDDKgfCHzfd8NPmQeSaNajC9e3w5rAp17e7ZiCpAlaH5AzdS emlF+S0L6P+Kwp8KEEPUsExs1xp4j8wEiO7IiWpeYOurf21h+BUxrftAgx3igg7Mr/xS DxQSsaqEnjz6gN1rRSRsFDz/GLKJGQAcyMe1Rw4rNUqfXEivkLnu02K+xW7cPRSz28Qy 1WIAI8l9Gd4MLsJiIMDQF+ibEwlM0Hue/2rgApXazY9h1fNUIPgvm66RA01L3kLSEG2u y5vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3-v6si4493932plh.469.2018.09.19.10.08.12; Wed, 19 Sep 2018 10:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732757AbeISWpB (ORCPT + 99 others); Wed, 19 Sep 2018 18:45:01 -0400 Received: from mail.bootlin.com ([62.4.15.54]:57217 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731592AbeISWpB (ORCPT ); Wed, 19 Sep 2018 18:45:01 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 2D52720728; Wed, 19 Sep 2018 19:06:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [15.65.243.10]) by mail.bootlin.com (Postfix) with ESMTPSA id B93362000E; Wed, 19 Sep 2018 19:05:58 +0200 (CEST) Date: Wed, 19 Sep 2018 19:05:56 +0200 From: Alexandre Belloni To: Giulio Benetti Cc: a.zummo@towertech.it, andy.shevchenko@gmail.com, robh@kernel.org, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v11 3/4] rtc: ds1307: add offset sysfs for mt41txx chips. Message-ID: <20180919170556.GB2479@piout.net> References: <20180725172605.108040-1-giulio.benetti@micronovasrl.com> <20180725172605.108040-3-giulio.benetti@micronovasrl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725172605.108040-3-giulio.benetti@micronovasrl.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/07/2018 19:26:04+0200, Giulio Benetti wrote: > m41txx chips can hold a calibration value to get correct clock bias. > > Add offset handling (ranging between -63ppm and 126ppm) via sysfs. > > Signed-off-by: Giulio Benetti > --- > drivers/rtc/rtc-ds1307.c | 77 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com