[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4d1b1ead-9439-210e-f246-cb49219390f5@micronovasrl.com>
Date: Wed, 9 May 2018 20:31:39 +0200
From: Giulio Benetti <giulio.benetti@...ronovasrl.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: a.zummo@...ertech.it, robh+dt@...nel.org, mark.rutland@....com,
linux-rtc@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] rtc: ds1307: add calibration of_ for mt41txx chips.
Hi Alexandre,
Il 08/05/2018 21:19, Alexandre Belloni ha scritto:
> Hi,
>
> There is a sysfs interface for calibration, please use it. this is
> especially useful since the calibration value probably depend on
> temperature so it has to be updated dynamically to be really useful.
>
> See https://elixir.bootlin.com/linux/v4.16.7/source/Documentation/ABI/testing/sysfs-class-rtc#L68
> and https://elixir.bootlin.com/linux/v4.16.7/source/drivers/rtc/interface.c#L999
>
Used sysfs now and just submitted V2 patchset.
Thanks for pointing me those links.
--
Giulio Benetti
CTO
MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
Powered by blists - more mailing lists