Re: [PATCH 4/4] rtc: ds1307: add frequency-test property to check calibration on m41txx
From: Rob Herring <robh+dt@kernel.org>
Date: 2018-05-08 17:44:55
Also in:
linux-devicetree, lkml
From: Rob Herring <robh+dt@kernel.org>
Date: 2018-05-08 17:44:55
Also in:
linux-devicetree, lkml
On Tue, May 8, 2018 at 9:56 AM, Giulio Benetti [off-list ref] wrote:
On m41txx you can enable open-drain OUT pin to check if calibration is ok. Enabling OUT pin with frequency-test bool property, OUT pin will tick 512 times faster than 1s tick base. Enable FT bit on CONTROL register if calibration is active.
A DT is (or should be) a pretty static thing, so I don't think this belongs. A kernel command line option (via module params) or a sysfs/debugfs file would make more sense IMO. Rob