Skip to content

Commit bbed0de

Browse files
Eric Lapuyadelinvjw
authored andcommitted
NFC: HCI based pn544 driver
This is an NFC driver for NXP pn544. Unlike pn544.c, this one is based on the NFC HCI and SHDLC kernel layers. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent e5fe4cf commit bbed0de

4 files changed

Lines changed: 968 additions & 0 deletions

File tree

‎drivers/nfc/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ config PN544_NFC
1717
To compile this driver as a module, choose m here. The module will
1818
be called pn544.
1919

20+
config PN544_HCI_NFC
21+
tristate "HCI PN544 NFC driver"
22+
depends on I2C && NFC_SHDLC
23+
select CRC_CCITT
24+
default n
25+
---help---
26+
NXP PN544 i2c driver.
27+
This is a driver based on the SHDLC and HCI NFC kernel layers and
28+
will thus not work with NXP libnfc library.
29+
30+
To compile this driver as a module, choose m here. The module will
31+
be called pn544_hci.
32+
2033
config NFC_PN533
2134
tristate "NXP PN533 USB driver"
2235
depends on USB

‎drivers/nfc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44

55
obj-$(CONFIG_PN544_NFC) += pn544.o
6+
obj-$(CONFIG_PN544_HCI_NFC) += pn544_hci.o
67
obj-$(CONFIG_NFC_PN533) += pn533.o
78
obj-$(CONFIG_NFC_WILINK) += nfcwilink.o
89

0 commit comments

Comments
 (0)