[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180919170618.GC2479@piout.net>
Date: Wed, 19 Sep 2018 19:06:18 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Giulio Benetti <giulio.benetti@...ronovasrl.com>
Cc: a.zummo@...ertech.it, andy.shevchenko@...il.com, robh@...nel.org,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v11 4/4] rtc: ds1307: add frequency_test_enable sysfs
attribute to check tick on m41txx
On 25/07/2018 19:26:05+0200, Giulio Benetti wrote:
> On m41txx you can enable open-drain OUT pin to check if offset is ok.
> Enabling OUT pin with frequency_test_enable attribute, OUT pin will tick
> 512 times faster than 1s tick base.
>
> Enable or Disable FT bit on CONTROL register if freq_test is 1 or 0.
>
> Signed-off-by: Giulio Benetti <giulio.benetti@...ronovasrl.com>
> ---
> V10 => V11:
> * kstrtobool(): check error if (ret) avoiding checking specific error.
>
> drivers/rtc/rtc-ds1307.c | 94 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 94 insertions(+)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists