-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Michael Thalmeier
authored and
Samuel Ortiz
committed
Apr 9, 2016
1 parent
37f895d
commit 9815c7c
Showing
7 changed files
with
1,081 additions
and
924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Makefile for PN533 NFC driver | ||
# | ||
pn533_usb-objs = usb.o | ||
|
||
obj-$(CONFIG_NFC_PN533) += pn533.o | ||
obj-$(CONFIG_NFC_PN533_USB) += pn533_usb.o |
Oops, something went wrong.