IMX6Q ONOFF pad not working for turning ON the board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q ONOFF pad not working for turning ON the board

652 Views
snehal_jadhav
Contributor III

Hi, We are working on custom board with i.MX6Q SoC which is battery operated, using Linux kernel version 4.1.15. We have switch interfaced with ONOFF pin of imx6q processor, We want to turn on and turn off the device with this ON/OFF switch. As per imx6 reference manual we are setting DP_EN bit but still we are not able to turn ON the board by pressing ON/OFF switch. When we press this switch for more than 5 sec we are able to turn OFF the system.
Please let me know what changes we are missing in order to turn ON the board with ONOFF switch.

Thanks in advance 

Labels (5)
0 Kudos
Reply
1 Reply

626 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @snehal_jadhav 

I hope you are doing well.
 
Please note that pressing the ONOFF Button for more than 5 seconds results in a direct
hardware power down request signal to the power IC without providing a software
interrupt.
 
To enable software support please make sure the below changes are applied in the device tree.
 
snvs_pwrkey and snvs_poweroff node contains status = "okay".
 
And there have been some improvements in /drivers/input/keyboard/snvs_pwrkey.c driver in the newer kernel version. please upgrade the driver to the latest version.
 
Thanks & Regards
Sanket Parekh
0 Kudos
Reply