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