Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

From: Johan Hovold
Date: Wed Oct 22 2014 - 12:24:15 EST


On Wed, Oct 22, 2014 at 08:29:56AM -0700, Tony Lindgren wrote:
> * Johan Hovold <johan@xxxxxxxxxx> [141022 04:12]:
> > On Sat, Oct 11, 2014 at 12:08:18PM -0700, Tony Lindgren wrote:
> > > * Johan Hovold <johan@xxxxxxxxxx> [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/