Dear Experts,
Chip: OMAP3530, OS:WinCE6.14
When my platform go into suspend, there are two wakeup source will resume my platform.
The first one is resume button, the second is USB OTG.
(Is this normal situation ??)
But now, I want to disable the USB OTG wakeup source !!!
I print the wake sources sysIntr before PrcmSuspend() in power.c->OEMPowerOff,
// Enable wake sources interrupts
for (sysIntr = SYSINTR_FIRMWARE; sysIntr < SYSINTR_MAXIMUM; sysIntr++)
{
// Skip if sysIntr isn't allowed as wake source
if (!OALPowerWakeSource(sysIntr)) continue;
OALMSG(1, (L" sysIntr 0x%x\r\n", sysIntr));
// Enable it as interrupt
OEMInterruptEnable(sysIntr, NULL, 0);
}
There is only one value I got: sysIntr 0x14.
It is strange that there are two wakeup souces but only one sysIntr,
thus I can't disable this wakeup source.
Anyone can tell me how to disable USB OTG wakeup source only ???