Home
last modified time | relevance | path

Searched +full:nfc +full:- +full:spi (Results 1 – 25 of 151) sorted by relevance

1234567

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
Dmarvell,nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/marvell,nci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell International Ltd. NCI NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - marvell,nfc-i2c
16 - marvell,nfc-spi
17 - marvell,nfc-uart
19 hci-muxed:
[all …]
Dst,st-nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/st,st-nci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics ST NCI NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - st,st21nfcb-i2c
16 - st,st21nfcb-spi
17 - st,st21nfcc-i2c
19 reset-gpios:
[all …]
Dst,st95hf.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/st,st95hf.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics ST95HF NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 enable-gpio:
25 st95hfvin-supply:
29 - compatible
30 - enable-gpio
[all …]
Dti,trf7970a.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/ti,trf7970a.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments TRF7970A RFID/NFC/15693 Transceiver
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Mark Greer <mgreer@animalcreek.com>
17 autosuspend-delay:
22 clock-frequency:
27 en2-rf-quirk:
[all …]
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 The core driver to support Marvell NFC devices.
8 Marvell NFC device 8897.
11 tristate "Marvell NFC-over-USB driver"
15 Marvell NFC-over-USB driver.
17 This driver provides support for Marvell NFC-over-USB devices:
20 Say Y here to compile support for Marvell NFC-over-USB driver
24 tristate "Marvell NFC-over-UART driver"
28 Marvell NFC-over-UART driver.
30 This driver provides support for Marvell NFC-over-UART devices
[all …]
Dspi.c2 * Marvell NFC-over-SPI driver: SPI interface related functions
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
22 #include <linux/nfc.h>
26 #include <net/nfc/nci.h>
27 #include <net/nfc/nci_core.h>
28 #include <linux/spi/spi.h>
35 struct spi_device *spi; member
50 if (test_and_clear_bit(SPI_WAIT_HANDSHAKE, &drv_data->flags)) { in nfcmrvl_spi_int_irq_thread_fn()
51 complete(&drv_data->handshake_completion); in nfcmrvl_spi_int_irq_thread_fn()
[all …]
/kernel/linux/linux-6.6/drivers/nfc/nfcmrvl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 The core driver to support Marvell NFC devices.
8 Marvell NFC device 8897.
11 tristate "Marvell NFC-over-USB driver"
15 Marvell NFC-over-USB driver.
17 This driver provides support for Marvell NFC-over-USB devices:
20 Say Y here to compile support for Marvell NFC-over-USB driver
24 tristate "Marvell NFC-over-UART driver"
28 Marvell NFC-over-UART driver.
30 This driver provides support for Marvell NFC-over-UART devices
[all …]
Dspi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Marvell NFC-over-SPI driver: SPI interface related functions
10 #include <linux/nfc.h>
12 #include <net/nfc/nci.h>
13 #include <net/nfc/nci_core.h>
14 #include <linux/spi/spi.h>
21 struct spi_device *spi; member
36 if (test_and_clear_bit(SPI_WAIT_HANDSHAKE, &drv_data->flags)) { in nfcmrvl_spi_int_irq_thread_fn()
37 complete(&drv_data->handshake_completion); in nfcmrvl_spi_int_irq_thread_fn()
43 skb = nci_spi_read(drv_data->nci_spi); in nfcmrvl_spi_int_irq_thread_fn()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dnfcmrvl.txt1 * Marvell International Ltd. NCI NFC Controller
4 - compatible: Should be:
5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6 - "marvell,nfc-i2c" for I2C devices
7 - "marvell,nfc-spi" for SPI devices
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
[all …]
Dst95hf.txt1 * STMicroelectronics : NFC Transceiver ST95HF
3 ST NFC Transceiver is required to attach with SPI bus.
4 ST95HF node should be defined in DT as SPI slave device of SPI
11 - reg: Address of SPI slave "ST95HF transceiver" on SPI master bus.
13 - compatible: should be "st,st95hf" for ST95HF NFC transceiver
15 - spi-max-frequency: Max. operating SPI frequency for ST95HF
18 - enable-gpio: GPIO line to enable ST95HF transceiver.
20 - interrupts : Standard way to define ST95HF transceiver's out
25 - st95hfvin-supply : This is an optional property. It contains a
30 spi@9840000 {
[all …]
Dst-nci-spi.txt1 * STMicroelectronics SAS. ST NCI NFC Controller
4 - compatible: Should be "st,st21nfcb-spi"
5 - spi-max-frequency: Maximum SPI frequency (<= 4000000).
6 - interrupts: GPIO interrupt to which the chip is connected
7 - reset-gpios: Output GPIO pin used to reset the ST21NFCB
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
15 connected to the nfc controller.
[all …]
Dtrf7970a.txt1 * Texas Instruments TRF7970A RFID/NFC/15693 Transceiver
4 - compatible: Should be "ti,trf7970a".
5 - spi-max-frequency: Maximum SPI frequency (<= 2000000).
6 - interrupts: A single interrupt specifier.
7 - ti,enable-gpios: One or two GPIO entries used for 'EN' and 'EN2' pins on the
9 - vin-supply: Regulator for supply voltage to VIN pin
12 - pinctrl-names: Contains only one value - "default".
13 - pintctrl-0: Specifies the pin control groups used for this controller.
14 - autosuspend-delay: Specify autosuspend delay in milliseconds.
15 - irq-status-read-quirk: Specify that the trf7970a being used has the
[all …]
/kernel/linux/linux-6.6/drivers/nfc/st-nci/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 STMicroelectronics NFC NCI chips core driver. It implements the chipset
6 NCI logic and hooks into the NFC kernel APIs. Physical layers will
10 tristate "STMicroelectronics ST NCI NFC driver (I2C)"
15 STMicroelectronics NFC NCI chips family.
18 If you choose to build a module, it'll be called st-nci_i2c.
22 tristate "STMicroelectronics ST NCI NFC driver (SPI)"
23 depends on NFC_NCI && SPI
26 This module adds support for an SPI interface to the
27 STMicroelectronics NFC NCI chips family.
[all …]
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 STMicroelectronics NFC NCI chips core driver. It implements the chipset
6 NCI logic and hooks into the NFC kernel APIs. Physical layers will
10 tristate "STMicroelectronics ST NCI NFC driver (I2C)"
15 STMicroelectronics NFC NCI chips family.
18 If you choose to build a module, it'll be called st-nci_i2c.
22 tristate "STMicroelectronics ST NCI NFC driver (SPI)"
23 depends on NFC_NCI && SPI
26 This module adds support for an SPI interface to the
27 STMicroelectronics NFC NCI chips family.
[all …]
/kernel/linux/linux-6.6/net/nfc/nci/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 depends on NFC
7 NCI (NFC Controller Interface) is a communication protocol between
8 an NFC Controller (NFCC) and a Device Host (DH).
14 depends on NFC_NCI && SPI
16 tristate "NCI over SPI protocol support"
19 NCI (NFC Controller Interface) is a communication protocol between
20 an NFC Controller (NFCC) and a Device Host (DH).
22 Say yes if you use an NCI driver that requires SPI link layer.
Dspi.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/spi/spi.h>
12 #include <linux/crc-ccitt.h>
13 #include <net/nfc/nci_core.h>
37 /* a NULL skb means we just want the SPI chip select line to raise */ in __nci_spi_send()
39 t.tx_buf = skb->data; in __nci_spi_send()
40 t.len = skb->len; in __nci_spi_send()
47 t.delay.value = nspi->xfer_udelay; in __nci_spi_send()
49 t.speed_hz = nspi->xfer_speed_hz; in __nci_spi_send()
54 return spi_sync(nspi->spi, &m); in __nci_spi_send()
[all …]
/kernel/linux/linux-5.10/net/nfc/nci/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 depends on NFC
7 NCI (NFC Controller Interface) is a communication protocol between
8 an NFC Controller (NFCC) and a Device Host (DH).
14 depends on NFC_NCI && SPI
16 tristate "NCI over SPI protocol support"
19 NCI (NFC Controller Interface) is a communication protocol between
20 an NFC Controller (NFCC) and a Device Host (DH).
22 Say yes if you use an NCI driver that requires SPI link layer.
Dspi.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/spi/spi.h>
12 #include <linux/crc-ccitt.h>
13 #include <net/nfc/nci_core.h>
37 /* a NULL skb means we just want the SPI chip select line to raise */ in __nci_spi_send()
39 t.tx_buf = skb->data; in __nci_spi_send()
40 t.len = skb->len; in __nci_spi_send()
47 t.delay.value = nspi->xfer_udelay; in __nci_spi_send()
49 t.speed_hz = nspi->xfer_speed_hz; in __nci_spi_send()
54 return spi_sync(nspi->spi, &m); in __nci_spi_send()
[all …]
/kernel/linux/linux-6.6/drivers/nfc/st95hf/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "ST95HF NFC Transceiver driver"
4 depends on SPI && NFC_DIGITAL
6 This enables the ST NFC driver for ST95HF NFC transceiver.
7 This makes use of SPI framework to communicate with transceiver
8 and registered with NFC digital core to support Linux NFC framework.
10 Say Y here to compile support for ST NFC transceiver ST95HF
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * --------------------------------------------------------------------
4 * Driver for ST NFC Transceiver ST95HF
5 * --------------------------------------------------------------------
16 #include <linux/nfc.h>
22 #include <net/nfc/digital.h>
23 #include <net/nfc/nfc.h>
25 #include "spi.h"
101 * List of top-level cmds to be used internally by the driver.
196 * for spi communication between st95hf and host.
[all …]
/kernel/linux/linux-5.10/drivers/nfc/st95hf/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "ST95HF NFC Transceiver driver"
4 depends on SPI && NFC_DIGITAL
6 This enables the ST NFC driver for ST95HF NFC transceiver.
7 This makes use of SPI framework to communicate with transceiver
8 and registered with NFC digital core to support Linux NFC framework.
10 Say Y here to compile support for ST NFC transceiver ST95HF
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * --------------------------------------------------------------------
4 * Driver for ST NFC Transceiver ST95HF
5 * --------------------------------------------------------------------
16 #include <linux/nfc.h>
23 #include <net/nfc/digital.h>
24 #include <net/nfc/nfc.h>
26 #include "spi.h"
102 * List of top-level cmds to be used internally by the driver.
197 * for spi communication between st95hf and host.
[all …]
/kernel/linux/linux-5.10/drivers/nfc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Near Field Communication (NFC) devices
6 menu "Near Field Communication (NFC) devices"
7 depends on NFC
10 tristate "Texas Instruments TRF7970a NFC driver"
11 depends on SPI && NFC_DIGITAL && GPIOLIB
13 This option enables the NFC driver for Texas Instruments' TRF7970a
15 ISO14443B, FeLiCa, ISO15693 and ISO18000-3.
22 tristate "MEI bus NFC device support"
25 This adds support to use an mei bus nfc device. Select this if you
[all …]
/kernel/linux/linux-6.6/drivers/nfc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Near Field Communication (NFC) devices
6 menu "Near Field Communication (NFC) devices"
7 depends on NFC
10 tristate "Texas Instruments TRF7970a NFC driver"
11 depends on SPI && NFC_DIGITAL && GPIOLIB
13 This option enables the NFC driver for Texas Instruments' TRF7970a
15 ISO14443B, FeLiCa, ISO15693 and ISO18000-3.
22 tristate "MEI bus NFC device support"
25 This adds support to use an mei bus nfc device. Select this if you
[all …]
/kernel/linux/linux-6.6/include/net/nfc/
Dnci_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * The NFC Controller Interface is the communication protocol between an
4 * NFC Controller (NFCC) and a Device Host (DH).
24 #include <net/nfc/nfc.h>
25 #include <net/nfc/nci.h>
270 /* ----- NCI Devices ----- */
326 skb = alloc_skb(len + ndev->tx_headroom + ndev->tx_tailroom, how); in nci_skb_alloc()
328 skb_reserve(skb, ndev->tx_headroom); in nci_skb_alloc()
335 nfc_set_parent_dev(ndev->nfc_dev, dev); in nci_set_parent_dev()
340 ndev->driver_data = data; in nci_set_drvdata()
[all …]

1234567