summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-omap.h
diff options
context:
space:
mode:
authorDoug Zobel <dzobel1@motorola.com>2014-07-16 18:29:53 -0500
committerDoug Zobel <dzobel1@motorola.com>2014-07-17 14:40:23 -0500
commit81e594422fb91e007ebe94d94922b5aa01072fbc (patch)
tree827440657228c07c4f679e58b52b0d37c7e3e912 /include/linux/platform_data/serial-omap.h
parent6ccdf6d6ca16904865e32af56f9524ccc9f0407d (diff)
downloadolio-linux-3.10-81e594422fb91e007ebe94d94922b5aa01072fbc.tar.xz
olio-linux-3.10-81e594422fb91e007ebe94d94922b5aa01072fbc.zip
IKXCLOCK-2861 uart: Allow UART to grab timed wakelocks
In the case of asynchronous wakeups coming in from UART, the system may need to stay awake for a period in order to catch a retry reliably. By making a port specific platform data wakelock timeout parameter, a port can be configured to stay awake longer than the retry period. Change-Id: I46ab72bf19d9916c409cac9cdda51acc362fa1a9
Diffstat (limited to 'include/linux/platform_data/serial-omap.h')
-rw-r--r--include/linux/platform_data/serial-omap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h
index a2f2a8c45a2..afba9011b52 100644
--- a/include/linux/platform_data/serial-omap.h
+++ b/include/linux/platform_data/serial-omap.h
@@ -37,6 +37,7 @@ struct omap_uart_port_info {
unsigned int dma_rx_buf_size;
unsigned int dma_rx_timeout;
unsigned int autosuspend_timeout;
+ unsigned int wakelock_timeout;
unsigned int dma_rx_poll_rate;
int DTR_gpio;
int DTR_inverted;