summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAlisher Alikhodjaev <alisher@google.com>2021-03-04 11:37:25 -0800
committerAlisher Alikhodjaev <alisher@google.com>2021-03-04 11:37:25 -0800
commit992a91de71f29b480cfdcbe2f4986f18e56ffbc0 (patch)
tree603b8fb84819de8ab6fe6e96bc2502bebb188d38 /Kconfig
parent0ba27cc9f8a6b2e6ecba2e9c5fb4cf57c46d8b0a (diff)
downloadnfc-992a91de71f29b480cfdcbe2f4986f18e56ffbc0.tar.gz
nfc: add configuration for out of tree build
The nfc and ese drivers are built as modules fixes for st21nfc.c are required to build it on LLVM Bug: 168350321 Signed-off-by: Alisher Alikhodjaev <alisher@google.com> Change-Id: Ifa88b8e243de20c6afda8a1350a4c79c417df4cf
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
new file mode 100644
index 0000000..b1ca6c3
--- /dev/null
+++ b/Kconfig
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Near Field Communication (NFC) devices
+#
+
+config NFC_ST21NFC
+ tristate "ST Microelectronics ST21NFC NFC Controller Driver"
+ depends on I2C
+ help
+ ST Microelectronics ST21NFC Near Field Communication controller support.
+
+config NFC_ST21NFC_NO_CRYSTAL
+ bool "ST Microelectronics ST21NFC NFC Controller Driver, no external crystal"
+ depends on NFC_ST21NFC
+ help
+ ST Microelectronics ST21NFC Near Field Communication controller support.
+
+config ESE_ST54
+ tristate "ST Microelectronics ST54 family ESE driver"
+ depends on SPI
+ help
+ ST Microelectronics ST54 ESE Near Field Communication controller support.
+
+config ESE_ST33
+ tristate "ST Microelectronics ST33 ESE driver"
+ depends on SPI
+ help
+ ST Microelectronics ST33 ESE Near Field Communication controller support.