Hi community,
I have a question about low power mode of i.MX6DQ Android BSP.
You know, i.MX6DQ Androud BSP's behavior is as following when press power button (SW1) on MCIMX6Q-SDP.
Press a short time: Enter to low power mode.
Press about 500 ms ~ 1 seconds: Appear a window to power off or silent mode.
Press over 5 seconds: Force power off.
I guess, the 2nd and 3rd function (appear window and force power off) are executed by ONOFF pin.
In this case, what controls the 1st function (enter to low power mode)?
Does GPIO interrupt control it by PWR_BTN_SNS signal on MCIMX6Q-SDP?
Best Regards,
Satoshi Shimoda
已解决! 转到解答。
Hi Satoshi,
The first function is controlled by PWR_BTN_SNS pin just like you mention. But it is handled by the gpio-keys driver. As you can see in the device tree the pin is no configured or handled as a normal GPIO that generates an IRQ.
/Alejandro
Hi Satoshi,
The first function is controlled by PWR_BTN_SNS pin just like you mention. But it is handled by the gpio-keys driver. As you can see in the device tree the pin is no configured or handled as a normal GPIO that generates an IRQ.
/Alejandro