Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9815c7cf authored by Michael Thalmeier's avatar Michael Thalmeier Committed by Samuel Ortiz
Browse files

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: default avatarMichael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 37f895d7
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -5,16 +5,6 @@
menu "Near Field Communication (NFC) devices"
	depends on NFC

config NFC_PN533
	tristate "NXP PN533 USB driver"
	depends on USB
	help
	  NXP PN533 USB driver.
	  This driver provides support for NFC NXP PN533 devices.

	  Say Y here to compile support for PN533 devices into the
	  kernel or say M to compile it as module (pn533).

config NFC_WILINK
	tristate "Texas Instruments NFC WiLink driver"
	depends on TI_ST && NFC_NCI
@@ -70,6 +60,7 @@ config NFC_PORT100

source "drivers/nfc/fdp/Kconfig"
source "drivers/nfc/pn544/Kconfig"
source "drivers/nfc/pn533/Kconfig"
source "drivers/nfc/microread/Kconfig"
source "drivers/nfc/nfcmrvl/Kconfig"
source "drivers/nfc/st21nfca/Kconfig"
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
obj-$(CONFIG_NFC_FDP)		+= fdp/
obj-$(CONFIG_NFC_PN544)		+= pn544/
obj-$(CONFIG_NFC_MICROREAD)	+= microread/
obj-$(CONFIG_NFC_PN533)		+= pn533.o
obj-$(CONFIG_NFC_PN533)		+= pn533/
obj-$(CONFIG_NFC_WILINK)	+= nfcwilink.o
obj-$(CONFIG_NFC_MEI_PHY)	+= mei_phy.o
obj-$(CONFIG_NFC_SIM)		+= nfcsim.o
+16 −0
Original line number Diff line number Diff line
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.
+7 −0
Original line number Diff line number Diff line
#
# Makefile for PN533 NFC driver
#
pn533_usb-objs  = usb.o

obj-$(CONFIG_NFC_PN533)     += pn533.o
obj-$(CONFIG_NFC_PN533_USB) += pn533_usb.o
+223 −913

File changed and moved.

Preview size limit exceeded, changes collapsed.

Loading