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.foeparker@xxxxxxxxxxx> > > > > 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.bedia@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html