This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x power off by RTC ALARM2

Hi

        I am referring power off procedure in Beaglebone black board. My understanding regarding this is,

* 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 

My question is when and how the am335x_rtc_poweroff() function is invoked?