mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 14:45:04 +07:00
35630df68d
Add driver for STMicroelectronics ST21NFCB NFC controller. ST21NFCB is using NCI protocol and a proprietary low level transport protocol called NDLC used on top. NDLC: The protocol defines 2 types of frame: - One type carrying NCI data (referred as DATAFRAME frames). - One type carrying protocol information used for flow control and error control mechanisms (referred as SUPERVISOR frames). After each frame transmission to the NFC controller, the device host SHALL waitfor an ACK (SUPERVISOR frame) reception before sending a new frame. The NFC controller MAY send a frame at anytime to the device host. The NFC controller MAY send a specific WAIT supervisor frame to indicate to device host that a NCI data packet has been received but that it could take significant time before the NFC controller sends an ACK and thus allows next data reception. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
23 lines
718 B
Plaintext
23 lines
718 B
Plaintext
config NFC_ST21NFCB
|
|
tristate "STMicroelectronics ST21NFCB NFC driver"
|
|
depends on NFC_NCI
|
|
default n
|
|
---help---
|
|
STMicroelectronics ST21NFCB core driver. It implements the chipset
|
|
NCI logic and hooks into the NFC kernel APIs. Physical layers will
|
|
register against it.
|
|
|
|
To compile this driver as a module, choose m here. The module will
|
|
be called st21nfcb.
|
|
Say N if unsure.
|
|
|
|
config NFC_ST21NFCB_I2C
|
|
tristate "NFC ST21NFCB i2c support"
|
|
depends on NFC_ST21NFCB && I2C
|
|
---help---
|
|
This module adds support for the STMicroelectronics st21nfcb i2c interface.
|
|
Select this if your platform is using the i2c bus.
|
|
|
|
If you choose to build a module, it'll be called st21nfcb_i2c.
|
|
Say N if unsure.
|