]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: serial: imx: Allow UART to be a source for wakeup
authorFabio Estevam <festevam@gmail.com>
Tue, 13 Dec 2011 20:50:50 +0000 (18:50 -0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:39 +0000 (08:33 +0200)
commit6d61624a4deb1db4091a768db6efaca71a91c09a
treefa544d937f316b4de4e7591b9cafe0e9b7b8d6b4
parenta93f4d3f8dfc2c850837139297a6a2842c45a144
tty: serial: imx: Allow UART to be a source for wakeup

Allow UART to be a source for wakeup from low power mode.

Tested on a mx6sabrelite (where ttymxc1 is the console) by doing:

echo enabled >  /sys/devices/platform/imx-uart.1/tty/ttymxc1/power/wakeup

echo mem > /sys/power/state

and then pressing a key in the console will wakeup the sytem.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/tty/serial/imx.c