I am using iMX6q to build a system based on Android 5.0. On the system I have an external RTC chip which is powered by a separate battery. The external RTC chip does not have an interrupt line connected iMX.
The external RTC chip is registered under /sys/class/rtc/rtc0. The other rtc of imx6 platform is 20cc034.snvs-rtc-lp and registered under /sys/class/rtc/rtc1(rtc1 used by alarm.).
When I set a alarm, it can't wake up the system from sleep state sometimes, but when the alarm time is past, then I wake up the system manually, the alarm fired immediately.
Anyone know how to fix it?