Thread (27 messages) 27 messages, 3 authors, 2016-07-20

[rtc-linux] Re: [PATCH 03/13] RTC: ds1307: Add DS1341 specific power-saving options

From: Andrey Smirnov <hidden>
Date: 2016-06-21 23:23:05
Also in: linux-devicetree, lkml

So wouldn't you want to set one mode while running and the lower power
mode while suspended? I'm trying to understand the frequency of changing
this. If it is always one setting for a board, then yes it belongs in
DT. If it is a user decision, then it probably shouldn't be in DT.
I don't really see a use-case where you'd want setting that
dynamically. I might be wrong, but IMHO, power consumption of a system
in suspended mode would dwarf that of an RTC, so there's really much
to gain by enabling this feature dynamically. Where it matters the
most is time setting retention when the system is powered off and RTC
is ticking off of a battery or a some other power storage device. So
in my opinion it is more of a system design question where one has to
choose if reliability of RTC data is more important (detection of
oscillator faults and higher oscillator glitch immunity) and bigger
power storage device is needed or higher risk of RTC "malfunction" is
acceptable and cheaper/more convenient power storage device can be
used
Seeing as these are reused, I've probably already had this discussion...
quoted
quoted
They should have vendor prefix and be explicit that they are boolean.
I was trying to be consistent with ds1339 and ds1390 bindings which do
not have vendor prefixes. Will fix in v2.
Okay, then they are fine if you are using existing properties. Perhaps
these should all be in a common binding doc though.
I think we have a misunderstanding. What I meant by "trying to be
consistent" was that bindings for other DS1307 variants do not prefix
their own properties with vendor name. Your comment about properties
being reused makes me suspicious that I misled you to believe that
other chip variants use those exact properties which is not the case.

Andrey

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help