summaryrefslogtreecommitdiff
path: root/net/nfc/nci/Makefile
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-06-11 11:25:47 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-06-11 23:37:37 +0200
commit9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 (patch)
tree33d59530eba0b11a835b869af86ee69e17ea7e34 /net/nfc/nci/Makefile
parent4a2b947f56b33cde68d6e0543160ea09ce651fd9 (diff)
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 'net/nfc/nci/Makefile')
-rw-r--r--net/nfc/nci/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nfc/nci/Makefile b/net/nfc/nci/Makefile
index 7ed8949266cc..b4b85b82e988 100644
--- a/net/nfc/nci/Makefile
+++ b/net/nfc/nci/Makefile
@@ -7,3 +7,6 @@ obj-$(CONFIG_NFC_NCI) += nci.o
nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
nci-$(CONFIG_NFC_NCI_SPI) += spi.o
+
+nci_uart-y += uart.o
+obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o