diff options
author | Frederic Danis <frederic.danis@linux.intel.com> | 2013-05-29 15:35:02 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 13:44:03 +0200 |
commit | 8a00a61b0ef2bfd1b468dd20c0d0b1a94a8f7475 (patch) | |
tree | 04438ab0d31ae79e0970cc7f901dd5605a5f4ec1 /net/nfc/nci/Kconfig | |
parent | a395298c9c96748cbd6acee4cb9a5ba13fbb3ab8 (diff) | |
download | linux-8a00a61b0ef2bfd1b468dd20c0d0b1a94a8f7475.tar.bz2 |
NFC: Add basic NCI over SPI
The NFC Forum defines a transport interface based on
Serial Peripheral Interface (SPI) for the NFC Controller
Interface (NCI).
This module implements the SPI transport of NCI, calling SPI module
directly to read/write data to NFC controller (NFCC).
NFCC driver should provide functions performing device open and close.
It should also provide functions asserting/de-asserting interruption
to prevent TX/RX race conditions.
NFCC driver can also fix a delay between transactions if needed by
the hardware.
Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nci/Kconfig')
-rw-r--r-- | net/nfc/nci/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/nfc/nci/Kconfig b/net/nfc/nci/Kconfig index 6d69b5f0f19b..2a2416080b4f 100644 --- a/net/nfc/nci/Kconfig +++ b/net/nfc/nci/Kconfig @@ -8,3 +8,13 @@ config NFC_NCI Say Y here to compile NCI support into the kernel or say M to compile it as module (nci). + +config NFC_NCI_SPI + depends on NFC_NCI && SPI + bool "NCI over SPI protocol support" + default n + help + NCI (NFC Controller Interface) is a communication protocol between + an NFC Controller (NFCC) and a Device Host (DH). + + Say yes if you use an NCI driver that requires SPI link layer. |