Merge tag 'for-linus-20130301' of git://git.infradead.org/linux-mtd
[sfrench/cifs-2.6.git] / Documentation / nfc / nfc-pn544.txt
1 Kernel driver for the NXP Semiconductors PN544 Near Field
2 Communication chip
3
4 General
5 -------
6
7 The PN544 is an integrated transmission module for contactless
8 communication. The driver goes under drives/nfc/ and is compiled as a
9 module named "pn544".
10
11 Host Interfaces: I2C, SPI and HSU, this driver supports currently only I2C.
12
13 Protocols
14 ---------
15
16 In the normal (HCI) mode and in the firmware update mode read and
17 write functions behave a bit differently because the message formats
18 or the protocols are different.
19
20 In the normal (HCI) mode the protocol used is derived from the ETSI
21 HCI specification. The firmware is updated using a specific protocol,
22 which is different from HCI.
23
24 HCI messages consist of an eight bit header and the message body. The
25 header contains the message length. Maximum size for an HCI message is
26 33. In HCI mode sent messages are tested for a correct
27 checksum. Firmware update messages have the length in the second (MSB)
28 and third (LSB) bytes of the message. The maximum FW message length is
29 1024 bytes.
30
31 For the ETSI HCI specification see
32 http://www.etsi.org/WebSite/Technologies/ProtocolSpecification.aspx