summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJingchang Lu <b35083@freescale.com>2012-09-12 13:56:45 +0800
committerAndy Voltz <andy.voltz@timesys.com>2012-10-17 14:37:25 -0400
commit56c3a9d88448dfdd858f69b8733cc91a505766cb (patch)
treee54570177cab13d5802169e7cb4dd44e7c655177 /include
parentb2fcdda7a78d05ac0b75d52ffc991f1c62d87178 (diff)
ENGR00181395-1: Add UART MISC functions support for Faraday
Add hardware flow control support, Add transmit DMA support, Add FIFO operation support, Add MSB/LSB on data support, Add 9-bits MARK/SPACE support. Signed-off-by: Jingchang Lu <b35083@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/ioctls.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-generic/ioctls.h b/include/asm-generic/ioctls.h
index 199975fac395..db014dd79a69 100644
--- a/include/asm-generic/ioctls.h
+++ b/include/asm-generic/ioctls.h
@@ -99,6 +99,14 @@
# define FIOQSIZE 0x5460
#endif
+/* 9bits Mark/Space operation support */
+#define TIOCSETADDRMODE 0x5470 /* enable uart address/data mode */
+#define TIOCCLRADDRMODE 0x5471 /* disable uart address/data mode */
+#define TIOCSETMARK 0x5472 /* address phase: set mark bit */
+#define TIOCCLRMARK 0x5473 /* data phase: clear mark bit */
+#define TIOCMSBMODE 0x5474 /* enable MSB first mode */
+#define TIOCLSBMODE 0x5475 /* enable LSB first mode */
+
/* Used for packet mode */
#define TIOCPKT_DATA 0
#define TIOCPKT_FLUSHREAD 1