From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Hovold Subject: Re: [PATCH 00/12] rtc: omap: fixes and power-off feature Date: Wed, 22 Oct 2014 18:21:04 +0200 Message-ID: <20141022162104.GB2381@localhost> References: <1412881594-25678-1-git-send-email-johan@kernel.org> <20141010175409.GL31348@saruman> <20141011093819.GA18988@localhost> <20141011190817.GA20644@atomide.com> <20141022110758.GO2113@localhost> <20141022152956.GI2542@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20141022152956.GI2542@atomide.com> Sender: linux-kernel-owner@vger.kernel.org To: Tony Lindgren Cc: Johan Hovold , Felipe Balbi , Alessandro Zummo , =?iso-8859-1?Q?Beno=EEt?= Cousson , Andrew Morton , Lokesh Vutla , Guenter Roeck , nsekhar@ti.com, t-kristo@ti.com, j-keerthy@ti.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Wed, Oct 22, 2014 at 08:29:56AM -0700, Tony Lindgren wrote: > * Johan Hovold [141022 04:12]: > > On Sat, Oct 11, 2014 at 12:08:18PM -0700, Tony Lindgren wrote: > > > * Johan Hovold [141011 02:42]: > > > > On Fri, Oct 10, 2014 at 12:54:22PM -0500, Felipe Balbi wrote: > > > > > > > > > > is this power-off feature "RTC-only mode" ? > > > > > > > > Yes, I believe so, at least as long as RTC power is maintained. The > > > > pmic_power_en pin can otherwise still be used to power off. > > > > > > > > On the BeagleBone the PMIC can be configured to enter OFF or SLEEP mode > > > > on power off, where the latter (and default) mode keeps the RTC power > > > > supply enabled. > > > > > > > > Thanks for the fast review, Felipe. > > > > > > Great :) I assume adding the regulator support to this driver should > > > also help in the 35xx case? > > > > If I remember correctly both OMAP and Sitara 35xx have no on-chip RTC so > > they won't be using this driver. > > Sorry I made a typo.. I meanto to ask if adding the regulator > helps in your 335x case (not 35xx case)? Ah, sorry, that's what I first read before I noticed you wrote "35xx" twice. :) Yes, RTC power can be configured as a regulator on am33xx (e.g. provided by LDO1 of the PMIC on BBB). I guess you would still need to configure it as always-on to be able to use the RTC-only mode, though. Johan