Hi,
We have custom platform based on AM3356. We have connected ext_wakeup0 to PMIC Wakeup and pmic_pwr_enable signal to PMIC PWR_EN signal. Intention is when platform is in RTC only mode, push button event to PMIC will wakeup the whole platform.
I am putting OMAP in to RTC only mode by setting PWR_ENABLE_EN bit of RTC_PMIC register and configuring Alarm2 event. I can see OMAP going to RTC only mode with very low power consumption on the board. Alarm event is waking up OMAP well.
But we have issue with waking up platform using push button event to PMIC. On PB signal PMIC is pulling wakeup signal to low quickly. With in 5 seconds time, PWR_EN signal should go to high so that PMIC will go to active mode. But after wakeup signal goes low, PWR_EN (pmic_pwr_en from OMAP) is not going to high in 5 seconds. Approximately at 5.9s it is going high. Not sure what is the issue.
I saw EXT_WAKEUP_EN bits of RTC_PMIC register are not set. I tried setting bit 0 to enable ext wakeup event. But with this setting OMAP is not going to RTC only mode. Do we also need to set PWR_ENABLE_SM to 11b?
Any help is highly appreciated.
Thanks,
Srinivas