summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tty.h
diff options
context:
space:
mode:
authorVincent Cuissard2015-06-11 11:25:47 +0200
committerSamuel Ortiz2015-06-11 23:37:37 +0200
commit9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 (patch)
tree33d59530eba0b11a835b869af86ee69e17ea7e34 /include/uapi/linux/tty.h
parentNFC: nfcmrvl: add chip reset management (diff)
downloadkernel-qcow2-linux-9961127d4bce6325e9a0b0fb105e0c85a6c62cb7.tar.gz
kernel-qcow2-linux-9961127d4bce6325e9a0b0fb105e0c85a6c62cb7.tar.xz
kernel-qcow2-linux-9961127d4bce6325e9a0b0fb105e0c85a6c62cb7.zip
NFC: nci: add generic uart support
Some NFC controller supports UART as host interface. As with SPI, a lot of code can be shared between vendor drivers. This patch add the generic support of UART and provides some extension API for vendor specific needs. This code is strongly inspired by the Bluetooth HCI ldisc implementation. NCI UART vendor drivers will have to register themselves to this layer via nci_uart_register. Underlying tty will have to be configured from user land thanks to an ioctl. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/tty.h')
-rw-r--r--include/uapi/linux/tty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/tty.h b/include/uapi/linux/tty.h
index dac199a2dba5..01c4410352ff 100644
--- a/include/uapi/linux/tty.h
+++ b/include/uapi/linux/tty.h
@@ -34,5 +34,6 @@
#define N_TI_WL 22 /* for TI's WL BT, FM, GPS combo chips */
#define N_TRACESINK 23 /* Trace data routing for MIPI P1149.7 */
#define N_TRACEROUTER 24 /* Trace data routing for MIPI P1149.7 */
+#define N_NCI 25 /* NFC NCI UART */
#endif /* _UAPI_LINUX_TTY_H */