danix

re-programming PSWITCH functionality in FSL's linux BSP

Discussion created by danix on Sep 7, 2011
Latest reply on Sep 7, 2011 by Myke Predko

Hi all,

 

I'm using imx233 in a custom board according to fsl's schematic ...

 

in the linux bsp release (2.6.31)  I want to change the operation of the imx23 PSWITCH pin such that:

 

 - while in OFF state pressing PSWITCH will power up the imx23.... this is already implemented

 - While in ON state pressing momentarily suspends/wakes the processor ... already implemented too.

 

  BUT, this is what I want to add:

 - while in ON state holding down PSWITCH for more than 3sec will shut down the system

 

  Any help appreciated, ...

Outcomes