[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170408151959.27oh2xhrnvoabb5d@piout.net>
Date: Sat, 8 Apr 2017 17:19:59 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Stefan Agner <stefan@...er.ch>
Cc: a.zummo@...ertech.it, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: ds1307: support m41t0 variant
On 23/03/2017 at 16:54:57 -0700, Stefan Agner wrote:
> The m41t0 variant is very similar to the already supported m41t00
> variant, with the notable exception of the oscillator fail bit.
> The data sheet notes:
>
> If the oscillator fail (OF) bit is internally set to a '1,' this
> indicates that the oscillator has either stopped, or was stopped
> for some period of time and can be used to judge the validity of
> the clock and date data.
>
> The bit will get cleared with a regular write of the system time,
> so no changes are needed to clear it.
>
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
> Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
> drivers/rtc/rtc-ds1307.c | 13 +++++++++++++
> 2 files changed, 14 insertions(+)
>
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Powered by blists - more mailing lists