Home
last modified time | relevance | path

Searched +full:st21nfca +full:- +full:i2c (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/
Dst,st21nfca.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/st,st21nfca.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics SAS ST21NFCA NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: st,st21nfca-i2c
16 enable-gpios:
19 ese-present:
30 uicc-present:
[all …]
/Linux-v6.1/drivers/nfc/st21nfca/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 STMicroelectronics ST21NFCA core driver. It implements the chipset
11 tristate "STMicroelectronics ST21NFCA NFC driver (I2C)"
12 depends on NFC_HCI && I2C && NFC_SHDLC
15 This module adds support for the STMicroelectronics st21nfca i2c interface.
16 Select this if your platform is using the i2c bus.
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C Link Layer for ST21NFCA HCI based Driver
9 #include <linux/crc-ccitt.h>
11 #include <linux/i2c.h>
25 #include "st21nfca.h"
33 * - insert ST21NFCA_ESCAPE_BYTE_STUFFING (escape byte)
34 * - xor byte with ST21NFCA_BYTE_STUFFING_MASK
61 * crc might have fail because i2c macro
70 * < 0 if hardware error occured (e.g. i2c err)
83 print_hex_dump(KERN_DEBUG, "i2c: ", DUMP_PREFIX_OFFSET, \
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for ST21NFCA HCI based NFC driver
6 st21nfca_hci-objs = core.o dep.o se.o vendor_cmds.o
7 obj-$(CONFIG_NFC_ST21NFCA) += st21nfca_hci.o
9 st21nfca_i2c-objs = i2c.o
10 obj-$(CONFIG_NFC_ST21NFCA_I2C) += st21nfca_i2c.o
Dst21nfca.h1 /* SPDX-License-Identifier: GPL-2.0-only */
47 * ref ISO7816-3 chap 8.1. the initial character TS is followed by a
53 #define DRIVER_DESC "HCI NFC driver for ST21NFCA"
72 * enum nfc_vendor_cmds - supported nfc vendor commands
79 * RF trimmings or low level drivers configurations (I2C, SPI, SWP).
92 * technology. When using this command to anti-collision is done.
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "st21nfca.h"
14 #define DRIVER_DESC "HCI NFC driver for ST21NFCA"
27 * Reader gate for communication with contact-less cards using Type A
28 * protocol ISO14443-3 but not compliant with ISO14443-4
68 #define ST21NFCA_EVT_HOT_PLUG_IS_INHIBITED(x) (x->data[0] & 0x80)
117 /* On ST21NFCA device pipes number are dynamics in st21nfca_hci_load_session()
121 * - It does useless EEPROM cycling in st21nfca_hci_load_session()
122 * - It might cause issue for secure elements support in st21nfca_hci_load_session()
124 * A better approach on ST21NFCA is to: in st21nfca_hci_load_session()
[all …]