Searched +full:st21nfca +full:- +full:i2c (Results 1 – 12 of 12) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/ |
| D | st21nfca.txt | 1 * STMicroelectronics SAS. ST21NFCA NFC Controller 4 - compatible: Should be "st,st21nfca-i2c". 5 - clock-frequency: I²C work frequency. 6 - reg: address on the bus 7 - enable-gpios: Output GPIO pin used for enabling/disabling the ST21NFCA 10 - pinctrl-names: Contains only one value - "default". 11 - pintctrl-0: Specifies the pin control groups used for this controller. 12 - ese-present: Specifies that an ese is physically connected to the nfc 14 - uicc-present: Specifies that the uicc swp signal can be physically 17 Example (for ARM-based BeagleBoard xM with ST21NFCA on I2C2): [all …]
|
| /kernel/linux/linux-5.10/drivers/nfc/st21nfca/ |
| D | Kconfig | 1 # 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.
|
| D | i2c.c | 1 // 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> 27 #include "st21nfca.h" 35 * - insert ST21NFCA_ESCAPE_BYTE_STUFFING (escape byte) 36 * - xor byte with ST21NFCA_BYTE_STUFFING_MASK 63 * crc might have fail because i2c macro 72 * < 0 if hardware error occured (e.g. i2c err) 85 print_hex_dump(KERN_DEBUG, "i2c: ", DUMP_PREFIX_OFFSET, \ [all …]
|
| D | Makefile | 1 # 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
|
| D | st21nfca.h | 1 /* 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.
|
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include "st21nfca.h" 15 #define DRIVER_DESC "HCI NFC driver for ST21NFCA" 28 * Reader gate for communication with contact-less cards using Type A 29 * protocol ISO14443-3 but not compliant with ISO14443-4 69 #define ST21NFCA_EVT_HOT_PLUG_IS_INHIBITED(x) (x->data[0] & 0x80) 118 /* On ST21NFCA device pipes number are dynamics in st21nfca_hci_load_session() 122 * - It does useless EEPROM cycling in st21nfca_hci_load_session() 123 * - It might cause issue for secure elements support in st21nfca_hci_load_session() 125 * A better approach on ST21NFCA is to: in st21nfca_hci_load_session() [all …]
|
| /kernel/linux/linux-6.6/drivers/nfc/st21nfca/ |
| D | Kconfig | 1 # 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.
|
| D | i2c.c | 1 // 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 …]
|
| D | Makefile | 1 # 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
|
| D | st21nfca.h | 1 /* 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.
|
| D | core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/ |
| D | st,st21nfca.yaml | 1 # 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 …]
|