Thread (66 messages) 66 messages, 5 authors, 2012-09-16
STALE5009d REVIEWED: 2 (0M)
Revisions (3)
  1. rfc [diff vs current]
  2. v3 [diff vs current]
  3. v4 current

[PATCH v4 03/21] serial: add OMAP-specific defines

From: Felipe Balbi <hidden>
Date: 2012-09-06 12:50:22
Also in: linux-omap, linux-serial, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

OMAP has some extra Interrupt types which can
be really useful for SW. Let's define them
so we can later use those in OMAP's serial driver.

Tested-by: Shubhrajyoti D <redacted>
Acked-by: Santosh Shilimkar <redacted>
Signed-off-by: Felipe Balbi <redacted>
---
 include/linux/serial_reg.h | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/include/linux/serial_reg.h b/include/linux/serial_reg.h
index 8ce70d7..5ed325e 100644
--- a/include/linux/serial_reg.h
+++ b/include/linux/serial_reg.h
@@ -40,6 +40,10 @@
 
 #define UART_IIR_BUSY		0x07 /* DesignWare APB Busy Detect */
 
+#define UART_IIR_RX_TIMEOUT	0x0c /* OMAP RX Timeout interrupt */
+#define UART_IIR_XOFF		0x10 /* OMAP XOFF/Special Character */
+#define UART_IIR_CTS_RTS_DSR	0x20 /* OMAP CTS/RTS/DSR Change */
+
 #define UART_FCR	2	/* Out: FIFO Control Register */
 #define UART_FCR_ENABLE_FIFO	0x01 /* Enable the FIFO */
 #define UART_FCR_CLEAR_RCVR	0x02 /* Clear the RCVR FIFO */
-- 
1.7.12.rc3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help