-------------------------------------------- On Mon, 12/19/16, Alexandre Belloni <alexandre.bell...@free-electrons.com> wrote:
Subject: Re: [rtc-linux] [PATCH] rtc: pcf8563: Do not disable clk out by default To: "Volodymyr Bendiuga" <volodymyr.bendi...@westermo.se> Cc: a.zu...@towertech.it, robh...@kernel.org, mark.rutl...@arm.com, rtc-linux@googlegroups.com, devicet...@vger.kernel.org, volodymyr.bendi...@gmail.com, "Mattias Walström" <mattias.walst...@westermo.se> Date: Monday, December 19, 2016, 2:25 AM On 09/12/2016 at 16:03:49 +0100, Volodymyr Bendiuga wrote : > From: Mattias Walström <mattias.walst...@westermo.se> > > Commit a39a6405d5f949bc651694028a disables CLKOUT of > the rtc after power-up to improve power consumption. > This is very useful, but some designs do require to > have the rtc on all the time, otherwise devices will > be bricked. Therefore this patch is a compromise that > works for both cases, where the default case is when > CLKOUT is on. If one wants to disable the CLKOUT, > clkout-allow-disable can be added to devicetree's rtc node. > Actually, the commit description is misleading. The CCF is the one disabling the clock if it is not used. If any user of the clock is declared, it will not be disabled so it already works in both cases (provided you have a proper driver getting the clock). -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.** Institutii feudale din tarile Romane. Dictionar coordonator Ovid Sachelarie si Nicolae -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.