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?