aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_sci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h
index 369273a52679..15b1bdcaa9f5 100644
--- a/include/linux/serial_sci.h
+++ b/include/linux/serial_sci.h
@@ -49,6 +49,10 @@ enum {
49 49
50#define SCIF_DEFAULT_ERROR_MASK (SCIF_PER | SCIF_FER | SCIF_ER | SCIF_BRK) 50#define SCIF_DEFAULT_ERROR_MASK (SCIF_PER | SCIF_FER | SCIF_ER | SCIF_BRK)
51 51
52/* SCSPTR, optional */
53#define SCSPTR_RTSIO (1 << 7)
54#define SCSPTR_CTSIO (1 << 5)
55
52/* Offsets into the sci_port->irqs array */ 56/* Offsets into the sci_port->irqs array */
53enum { 57enum {
54 SCIx_ERI_IRQ, 58 SCIx_ERI_IRQ,
@@ -109,6 +113,11 @@ struct plat_sci_port_ops {
109}; 113};
110 114
111/* 115/*
116 * Port-specific capabilities
117 */
118#define SCIx_HAVE_RTSCTS (1 << 0)
119
120/*
112 * Platform device specific platform_data struct 121 * Platform device specific platform_data struct
113 */ 122 */
114struct plat_sci_port { 123struct plat_sci_port {
@@ -116,6 +125,7 @@ struct plat_sci_port {
116 unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ 125 unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */
117 unsigned int type; /* SCI / SCIF / IRDA */ 126 unsigned int type; /* SCI / SCIF / IRDA */
118 upf_t flags; /* UPF_* flags */ 127 upf_t flags; /* UPF_* flags */
128 unsigned long capabilities; /* Port features/capabilities */
119 129
120 unsigned int scbrr_algo_id; /* SCBRR calculation algo */ 130 unsigned int scbrr_algo_id; /* SCBRR calculation algo */
121 unsigned int scscr; /* SCSCR initialization */ 131 unsigned int scscr; /* SCSCR initialization */