Home
last modified time | relevance | path

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

1234

/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
Dspi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SPI Link Layer for ST NCI based Driver
4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved.
10 #include <linux/spi/spi.h>
15 #include <linux/nfc.h>
17 #include <net/nfc/nci.h>
19 #include "st-nci.h"
21 #define DRIVER_DESC "NCI NFC driver for ST_NCI"
48 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_spi_enable()
50 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_spi_enable()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for ST_NCI NCI based NFC driver
6 st-nci-objs = ndlc.o core.o se.o vendor_cmds.o
7 obj-$(CONFIG_NFC_ST_NCI) += st-nci.o
9 st-nci_i2c-objs = i2c.o
10 obj-$(CONFIG_NFC_ST_NCI_I2C) += st-nci_i2c.o
12 st-nci_spi-objs = spi.o
13 obj-$(CONFIG_NFC_ST_NCI_SPI) += st-nci_spi.o
/Linux-v6.1/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 …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux NFC NCI layer.
6 obj-$(CONFIG_NFC_NCI) += nci.o
8 nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
10 nci_spi-y += spi.o
11 obj-$(CONFIG_NFC_NCI_SPI) += nci_spi.o
13 nci_uart-y += uart.o
14 obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o
/Linux-v6.1/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 …]
Dspi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ---------------------------------------------------------------------------
4 * drivers/nfc/st95hf/spi.h functions declarations for SPI communication
5 * ---------------------------------------------------------------------------
12 #include <linux/spi/spi.h>
14 /* Basic ST95HF SPI CMDs */
22 * structure to contain st95hf spi communication specific information.
24 * @spidev: st95hf spi device object.
27 * @spi_lock: mutex to allow only one spi transfer at a time.
36 /* flag to differentiate synchronous & asynchronous spi request */
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for STMicroelectronics NFC transceiver ST95HF
6 obj-$(CONFIG_NFC_ST95HF) += st95hf.o
7 st95hf-objs := spi.o core.o
/Linux-v6.1/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 …]
Dtrf7970a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI TRF7970a RFID/NFC Transceiver Driver
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
17 #include <linux/nfc.h>
22 #include <linux/spi/spi.h>
25 #include <net/nfc/nfc.h>
26 #include <net/nfc/digital.h>
29 * parallel mode, SPI with Slave Select (SS) mode, and SPI without
30 * SS mode. The driver only supports the two SPI modes.
39 * when EN2 is left low. The 'en2-rf-quirk' device tree property
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/arch/arm/boot/dts/
Dvf610-bk4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
15 stdout-path = &uart1;
23 audio_ext: oscillator-audio {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <24576000>;
29 enet_ext: oscillator-ethernet {
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
[all …]
Dste-ux500-samsung-codina.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina.
11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China).
12 * The GT-I8160 plain is known as the "europe" variant.
13 * The GT-I8160P is the CDMA version and it appears to not use the ST
14 * Microelectronics accelerometer and reportedly has NFC mounted.
15 * The GT-I8160chn appears to be the same as the europe variant.
17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device
21 /dts-v1/;
22 #include "ste-db8500.dtsi"
[all …]
Drk3036.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/clock/rk3036-cru.h>
8 #include <dt-bindings/soc/rockchip,boot-mode.h>
9 #include <dt-bindings/power/rk3036-power.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
[all …]
Dvf610-twr.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
10 compatible = "fsl,vf610-twr", "fsl,vf610";
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <24576000>;
28 compatible = "fixed-clock";
29 #clock-cells = <0>;
30 clock-frequency = <50000000>;
34 compatible = "simple-bus";
[all …]
/Linux-v6.1/Documentation/driver-api/nfc/
Dnfc-hci.rst2 HCI backend for NFC Core
5 - Author: Eric Lapuyade, Samuel Ortiz
6 - Contact: eric.lapuyade@intel.com, samuel.ortiz@intel.com
9 -------
12 enables easy writing of HCI-based NFC drivers. The HCI layer runs as an NFC Core
13 backend, implementing an abstract nfc device and translating NFC Core API
17 ---
19 HCI registers as an nfc device with NFC Core. Requests coming from userspace are
20 routed through netlink sockets to NFC Core and then to HCI. From this point,
26 and a translation will be forwarded to NFC Core as needed. There are hooks to
[all …]
/Linux-v6.1/drivers/nfc/st21nfca/
Dst21nfca.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 #include <net/nfc/hci.h>
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.

1234