Has anyone successfully used a GPIO to wake up out of a low power mode? We are able to enter the mem power state and we've registered our irq such that it is being handled during this low power state, but we can't seem to get our irq to wake the kernel.
Here are the functions that we're using to setup our irq.
mxc_request_iomux(MX31_PIN_SCK6, OUTPUTCONFIG_GPIO, INPUTCONFIG_GPIO);
gpio_config(PORT, PIN, false, GPIO_INT_RISE_EDGE);
gpio_request_irq(PORT, PIN, GPIO_LOW_PRIO, our_irq_handler, IRQ_FLAGS, DEV_NAME, DEVID);
set_irq_wake(MXC_GPIO_TO_IRQ(PORT_SIG_TO_GPIO(PORT, PIN)), 1);
Any help would be appreciated.
|