summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/serial-omap.h')
-rw-r--r--include/linux/platform_data/serial-omap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h
index c860c1b314c..9990f7cd03c 100644
--- a/include/linux/platform_data/serial-omap.h
+++ b/include/linux/platform_data/serial-omap.h
@@ -37,13 +37,25 @@ 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;
int DTR_present;
+ bool wakeup_capable;
+ bool open_close_pm;
+ unsigned int rx_trig;
int (*get_context_loss_count)(struct device *);
void (*enable_wakeup)(struct device *, bool);
+ void (*wake_peer)(struct uart_port *);
};
+extern void omap_uart_remove_wakeup(struct device *dev);
+extern void omap_uart_enable_wakeup(struct device *dev, bool enable);
+extern int omap_pm_get_dev_context_loss_count(struct device *dev);
+
+extern int omap_serial_ext_uart_enable(u8 port_id);
+extern int omap_serial_ext_uart_disable(u8 port_id);
+
#endif /* __OMAP_SERIAL_H__ */