NFC: Add basic NCI over SPI
authorFrederic Danis <frederic.danis@linux.intel.com>
Wed, 29 May 2013 13:35:02 +0000 (15:35 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:44:03 +0000 (13:44 +0200)
commit8a00a61b0ef2bfd1b468dd20c0d0b1a94a8f7475
tree04438ab0d31ae79e0970cc7f901dd5605a5f4ec1
parenta395298c9c96748cbd6acee4cb9a5ba13fbb3ab8
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>
include/net/nfc/nci_core.h
net/nfc/nci/Kconfig
net/nfc/nci/Makefile
net/nfc/nci/spi.c [new file with mode: 0644]