]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:21 +0000 (14:10 +0200)
commit512aaab36075a5ae5c278372e5a76e3c65828525
treefa544d937f316b4de4e7591b9cafe0e9b7b8d6b4
parent77704994310f2b2275e60c0f16863d1c96c48010
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