Skip to content

Commit cab4733

Browse files
shikha16Samuel Ortiz
authored andcommitted
NFC: Add STMicroelectronics ST95HF driver
This driver supports STMicroelectronics NFC Transceiver "ST95HF", in in initiator role to read/write ISO14443 Type 4A, ISO14443 Type 4B and ISO15693 Type5 tags. The ST95HF datasheet is available here: http://www.st.com/web/en/resource/technical/document/datasheet/DM00102056.pdf Signed-off-by: Shikha Singh <shikha.singh@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent ce2e56c commit cab4733

File tree

7 files changed

+1522
-0
lines changed

7 files changed

+1522
-0
lines changed

drivers/nfc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ source "drivers/nfc/st21nfca/Kconfig"
7676
source "drivers/nfc/st-nci/Kconfig"
7777
source "drivers/nfc/nxp-nci/Kconfig"
7878
source "drivers/nfc/s3fwrn5/Kconfig"
79+
source "drivers/nfc/st95hf/Kconfig"
7980
endmenu

drivers/nfc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ obj-$(CONFIG_NFC_ST21NFCA) += st21nfca/
1616
obj-$(CONFIG_NFC_ST_NCI) += st-nci/
1717
obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci/
1818
obj-$(CONFIG_NFC_S3FWRN5) += s3fwrn5/
19+
obj-$(CONFIG_NFC_ST95HF) += st95hf/

drivers/nfc/st95hf/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
config NFC_ST95HF
2+
tristate "ST95HF NFC Transceiver driver"
3+
depends on SPI && NFC_DIGITAL
4+
help
5+
This enables the ST NFC driver for ST95HF NFC transceiver.
6+
This makes use of SPI framework to communicate with transceiver
7+
and registered with NFC digital core to support Linux NFC framework.
8+
9+
Say Y here to compile support for ST NFC transceiver ST95HF
10+
linux driver into the kernel or say M to compile it as module.

drivers/nfc/st95hf/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# Makefile for STMicroelectronics NFC transceiver ST95HF
3+
#
4+
5+
obj-$(CONFIG_NFC_ST95HF) += st95hf.o
6+
st95hf-objs := spi.o core.o

0 commit comments

Comments
 (0)