Hi,
We have ported Android JB 4.2.5P1 onto our custom board based on OMAP4430 . We have a head tracker sensor connected to the OMAP on gpio_80. The Head tracker is configured to give out samples every 10ms however it fails to do so. The head tracker interrupts are enabled by a library in the file system while booting and once the board completely boots up, the omap stops receiving samples. When we reconnected the Head tracker sensor to gpio_186, It just worked fine. We chose gpio_186 because the accelerometer sensor is connected to gpio_186 on blaze board.
After quite a bit of debugging we figured the issue to be related to power management. We figured that when the system becomes idle as soon as the board completely boots up gpio stops receiving samples and i verfied this by disabling the CPU_IDLE in menuconfig and it worked fine on gpi_80. But i can't consider that as a solution because it works fine on gpio_186 with CPU_IDLE enabled.
And i verfied that there is no problem with gpi_80 hardware because it works fine with kerenl 3.0.
I'm guessing there is some configuration been done in kerenl 3.4 like wake up enabled in idle state for bank 5 in which gpio_186 lies which needs to be done on bank 2 which hosts gpi_80.
Could someone guide me on how to enable wake ups to bank 2?
Regards
Prakash