From: Kevin Hilman Date: Mon, 27 Apr 2009 19:27:36 +0000 (-0700) Subject: OMAP2/3/4: UART: Allow per-UART disabling wakeup for serial ports X-Git-Tag: v2.6.31-rc7~36^2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd455ea899b5a14a8cdd276e15f3b47696526f92;p=pandora-kernel.git OMAP2/3/4: UART: Allow per-UART disabling wakeup for serial ports This patch causes the OMAP uarts to honor the sysfs power/wakeup file for IOPAD wakeups. Before the OMAP was always woken up from off mode on a rs232 signal change. This patch also creates a different platform device for each serial port so that the wakeup properties can be control per port. By default, IOPAD wakeups are enabled for each UART. To disable, # echo disabled > /sys/devices/platform/serial8250.0/power/wakeup Where serial8250.0 can be replaced by .1, or .2 to control the other ports. Original idea and original patch from Russ Dill Cc: Russ Dill Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed