Sleep / Wakeup

fatbrain
Hi,
 I',m using friendlyarm kernel 2.6.32 and what I want to achieve is via one
of the switches i need to put mini2440 to sleep OR on a low power mode with
lcd switched off  and pressing it again should wake it up, any idea how to
achieve it. 

I'm open changing the linux kernel and rootfs  as long I can achieve sleep
/wakeup functionality. 

thanks