aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_sci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/serial_sci.h')
-rw-r--r--include/linux/serial_sci.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h
index 9f2bfd055742..e598eaef3962 100644
--- a/include/linux/serial_sci.h
+++ b/include/linux/serial_sci.h
@@ -9,8 +9,6 @@
9 * Generic header for SuperH (H)SCI(F) (used by sh/sh64 and related parts) 9 * Generic header for SuperH (H)SCI(F) (used by sh/sh64 and related parts)
10 */ 10 */
11 11
12#define SCIx_NOT_SUPPORTED (-1)
13
14/* Serial Control Register (@ = not supported by all parts) */ 12/* Serial Control Register (@ = not supported by all parts) */
15#define SCSCR_TIE BIT(7) /* Transmit Interrupt Enable */ 13#define SCSCR_TIE BIT(7) /* Transmit Interrupt Enable */
16#define SCSCR_RIE BIT(6) /* Receive Interrupt Enable */ 14#define SCSCR_RIE BIT(6) /* Receive Interrupt Enable */
@@ -41,24 +39,16 @@ enum {
41 SCIx_NR_REGTYPES, 39 SCIx_NR_REGTYPES,
42}; 40};
43 41
44struct device;
45
46struct plat_sci_port_ops { 42struct plat_sci_port_ops {
47 void (*init_pins)(struct uart_port *, unsigned int cflag); 43 void (*init_pins)(struct uart_port *, unsigned int cflag);
48}; 44};
49 45
50/* 46/*
51 * Port-specific capabilities
52 */
53#define SCIx_HAVE_RTSCTS BIT(0)
54
55/*
56 * Platform device specific platform_data struct 47 * Platform device specific platform_data struct
57 */ 48 */
58struct plat_sci_port { 49struct plat_sci_port {
59 unsigned int type; /* SCI / SCIF / IRDA / HSCIF */ 50 unsigned int type; /* SCI / SCIF / IRDA / HSCIF */
60 upf_t flags; /* UPF_* flags */ 51 upf_t flags; /* UPF_* flags */
61 unsigned long capabilities; /* Port features/capabilities */
62 52
63 unsigned int sampling_rate; 53 unsigned int sampling_rate;
64 unsigned int scscr; /* SCSCR initialization */ 54 unsigned int scscr; /* SCSCR initialization */
@@ -66,14 +56,9 @@ struct plat_sci_port {
66 /* 56 /*
67 * Platform overrides if necessary, defaults otherwise. 57 * Platform overrides if necessary, defaults otherwise.
68 */ 58 */
69 int port_reg;
70 unsigned char regshift;
71 unsigned char regtype; 59 unsigned char regtype;
72 60
73 struct plat_sci_port_ops *ops; 61 struct plat_sci_port_ops *ops;
74
75 unsigned int dma_slave_tx;
76 unsigned int dma_slave_rx;
77}; 62};
78 63
79#endif /* __LINUX_SERIAL_SCI_H */ 64#endif /* __LINUX_SERIAL_SCI_H */