mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:36:40 +07:00
9961127d4b
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>
13 lines
226 B
Makefile
13 lines
226 B
Makefile
#
|
|
# Makefile for the Linux NFC NCI layer.
|
|
#
|
|
|
|
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
|