OMAP: UART: Add sysfs interface for adjusting UART sleep timeout
authorJouni Hogander <jouni.hogander@nokia.com>
Tue, 9 Dec 2008 11:36:50 +0000 (13:36 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 28 May 2009 17:59:07 +0000 (10:59 -0700)
This patch makes it possible to change uart sleep timeout. New sysfs
entry is added (/sys/devices/platform/serial8250.<uart>/sleep_timeout)
Writing zero will disable the timeout feature and prevent UART clocks
from being disabled.

Also default timeout is increased to 5 second to make serial console
more usable.

Original patch was written by Tero Kristo.

Cc: Tero Kristo <Tero.Kristo@nokia.com>
Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>

No differences found