summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533/Kconfig
diff options
context:
space:
mode:
authorMichael Thalmeier <michael.thalmeier@hale.at>2016-03-25 15:46:53 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2016-04-09 23:53:15 +0200
commit9815c7cf22daceabfb919ddcd6f2c80e049c1fbc (patch)
tree8ed0f04f080ddf96bfabf2e189f077b857d2ab11 /drivers/nfc/pn533/Kconfig
parent37f895d7e85e7d7e23e2395e666ea43001862e5f (diff)
downloadlinux-9815c7cf22daceabfb919ddcd6f2c80e049c1fbc.tar.bz2
NFC: pn533: Separate physical layer from the core implementation
The driver now has all core stuff isolated in one file, and all the hardware link specifics in another. Writing a pn533 driver on top of another hardware link is now just a matter of adding a new file for that new hardware specifics. The first user of this separation will be the i2c based pn532 driver that reuses pn533 core implementation on top of an i2c layer. Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533/Kconfig')
-rw-r--r--drivers/nfc/pn533/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/nfc/pn533/Kconfig b/drivers/nfc/pn533/Kconfig
new file mode 100644
index 000000000000..b5a926e42f7b
--- /dev/null
+++ b/drivers/nfc/pn533/Kconfig
@@ -0,0 +1,16 @@
+config NFC_PN533
+ tristate
+ help
+ NXP PN533 core driver.
+ This driver provides core functionality for NXP PN533 NFC devices.
+
+config NFC_PN533_USB
+ tristate "NFC PN533 device support (USB)"
+ depends on USB
+ select NFC_PN533
+ ---help---
+ This module adds support for the NXP pn533 USB interface.
+ Select this if your platform is using the USB bus.
+
+ If you choose to build a module, it'll be called pn533_usb.
+ Say N if unsure.