summaryrefslogtreecommitdiff
path: root/drivers/nfc/st-nci/Kconfig
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-08-14 22:33:37 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-08-17 00:35:08 +0200
commit2bc4d4f8c8f3ce863e3644736d1790b0684c7eb0 (patch)
tree53df6a874777e9415810b20631f715e10a015d89 /drivers/nfc/st-nci/Kconfig
parent8b706884eac958ec16518315053f77e052627084 (diff)
nfc: st-nci: Add spi phy support for st21nfcb
st21nfcb does support another phy than i2c: spi. st21nfcc does not support spi as the spi ios are used by the AMS RF booster. st21nfcb is not following NCI NFC Forum recommendations for spi but rely on ST prioritary protocol ndlc as for i2c. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st-nci/Kconfig')
-rw-r--r--drivers/nfc/st-nci/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nfc/st-nci/Kconfig b/drivers/nfc/st-nci/Kconfig
index fc3904c946ee..e7c6db9c5860 100644
--- a/drivers/nfc/st-nci/Kconfig
+++ b/drivers/nfc/st-nci/Kconfig
@@ -21,3 +21,14 @@ config NFC_ST_NCI_I2C
If you choose to build a module, it'll be called st-nci_i2c.
Say N if unsure.
+
+config NFC_ST_NCI_SPI
+ tristate "NFC ST NCI spi support"
+ depends on NFC_ST_NCI && SPI
+ ---help---
+ This module adds support for an SPI interface to the
+ STMicroelectronics NFC NCI chips familly.
+ Select this if your platform is using the spi bus.
+
+ If you choose to build a module, it'll be called st-nci_spi.
+ Say N if unsure.