0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef __OMAP_SERIAL_H__
0014 #define __OMAP_SERIAL_H__
0015
0016 #include <linux/serial_core.h>
0017 #include <linux/device.h>
0018 #include <linux/pm_qos.h>
0019
0020 #define OMAP_SERIAL_DRIVER_NAME "omap_uart"
0021
0022
0023
0024
0025
0026
0027 #define OMAP_SERIAL_NAME "ttyO"
0028
0029 struct omap_uart_port_info {
0030 bool dma_enabled;
0031 unsigned int uartclk;
0032 upf_t flags;
0033 unsigned int dma_rx_buf_size;
0034 unsigned int dma_rx_timeout;
0035 unsigned int autosuspend_timeout;
0036 unsigned int dma_rx_poll_rate;
0037
0038 int (*get_context_loss_count)(struct device *);
0039 void (*enable_wakeup)(struct device *, bool);
0040 };
0041
0042 #endif