aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/omap-serial.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h
index 348c9ead6edb..842b429cfeaa 100644
--- a/arch/arm/plat-omap/include/plat/omap-serial.h
+++ b/arch/arm/plat-omap/include/plat/omap-serial.h
@@ -58,12 +58,18 @@
58 58
59#define MSR_SAVE_FLAGS UART_MSR_ANY_DELTA 59#define MSR_SAVE_FLAGS UART_MSR_ANY_DELTA
60 60
61#define UART_ERRATA_i202_MDR1_ACCESS BIT(0)
62#define UART_ERRATA_i291_DMA_FORCEIDLE BIT(1)
63
61struct omap_uart_port_info { 64struct omap_uart_port_info {
62 bool dma_enabled; /* To specify DMA Mode */ 65 bool dma_enabled; /* To specify DMA Mode */
63 unsigned int uartclk; /* UART clock rate */ 66 unsigned int uartclk; /* UART clock rate */
64 upf_t flags; /* UPF_* flags */ 67 upf_t flags; /* UPF_* flags */
68 u32 errata;
65 69
66 int (*get_context_loss_count)(struct device *); 70 int (*get_context_loss_count)(struct device *);
71 void (*set_forceidle)(struct platform_device *);
72 void (*set_noidle)(struct platform_device *);
67}; 73};
68 74
69struct uart_omap_dma { 75struct uart_omap_dma {
@@ -117,6 +123,7 @@ struct uart_omap_port {
117 char name[20]; 123 char name[20];
118 unsigned long port_activity; 124 unsigned long port_activity;
119 u32 context_loss_cnt; 125 u32 context_loss_cnt;
126 u32 errata;
120}; 127};
121 128
122#endif /* __OMAP_SERIAL_H__ */ 129#endif /* __OMAP_SERIAL_H__ */