On Thu, Nov 22, 2012 at 11:17:02, AnilKumar, Chimata wrote: > +Andrew Morton > > On Tue, Nov 20, 2012 at 15:18:43, AnilKumar, Chimata wrote: > > From: Colin Foe-Parker <colin.foepar...@logicpd.com> > > > > Add system power off control to rtc driver which is the in-charge > > of controlling the BeagleBone system power. The power_off routine > > can be hooked up to "pm_power_off" system call. > > > > System power off sequence:- > > * Set PMIC STATUS_OFF when PMIC_POWER_EN is pulled low > > * Enable PMIC_POWER_EN in rtc module > > * Set rtc ALARM2 time > > * Enable ALARM2 interrupt > > > > Added while (1); after the above steps to make sure that no other > > process acquire cpu. Otherwise we might see an unexpected behaviour > > because we are shutting down all the power rails of SoC except RTC. >
Reviewed-by: Vaibhav Bedia <vaibhav.be...@ti.com> _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss