]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00162644 tty: serial: imx: Allow UART to be a source for wakeup
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 19 Dec 2011 21:11:45 +0000 (19:11 -0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:40 +0000 (08:33 +0200)
commitba334fcd6ef78c136d12c45ce2034be9deeb00de
tree3e9f0d1c22f2cd18e445ef587aaa64223fd8e59b
parent5001c1c302dfa2daf45359f4c150c1c2e78cbf2a
ENGR00162644 tty: serial: imx: Allow UART to be a source for wakeup

Allow UART to be a source from 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 system.

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