| /kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/ |
| D | Kconfig | 1 # 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 …]
|
| D | uart.c | 2 * Marvell NFC-over-UART driver 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 <net/nfc/nci.h> 23 #include <net/nfc/nci_core.h> 29 static int reset_n_io = -EINVAL; 48 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send() 50 return nu->ops.send(nu, skb); in nfcmrvl_uart_nci_send() 56 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config() 59 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config() [all …]
|
| /kernel/linux/linux-6.6/drivers/nfc/nfcmrvl/ |
| D | Kconfig | 1 # 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 …]
|
| D | uart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Marvell NFC-over-UART driver 11 #include <net/nfc/nci.h> 12 #include <net/nfc/nci_core.h> 18 static int reset_n_io = -EINVAL; 37 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send() 39 return nu->ops.send(nu, skb); in nfcmrvl_uart_nci_send() 45 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config() 48 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config() 49 config->flow_control); in nfcmrvl_uart_nci_update_config() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for NFCMRVL NCI based NFC driver 6 nfcmrvl-y += main.o fw_dnld.o 7 obj-$(CONFIG_NFC_MRVL) += nfcmrvl.o 9 nfcmrvl_usb-y += usb.o 10 obj-$(CONFIG_NFC_MRVL_USB) += nfcmrvl_usb.o 12 nfcmrvl_uart-y += uart.o 13 obj-$(CONFIG_NFC_MRVL_UART) += nfcmrvl_uart.o 15 nfcmrvl_i2c-y += i2c.o 16 obj-$(CONFIG_NFC_MRVL_I2C) += nfcmrvl_i2c.o [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/ |
| D | marvell,nci.yaml | 1 # 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 …]
|
| D | nxp,pn532.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/nfc/nxp,pn532.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Semiconductors PN532 NFC controller 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - const: nxp,pn532 16 - description: Deprecated bindings 18 - nxp,pn532-i2c 19 - nxp,pn533-i2c [all …]
|
| D | samsung,s3fwrn5.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/nfc/samsung,s3fwrn5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S3FWRN5 NCI NFC Controller 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,s3fwrn5-i2c 16 - samsung,s3fwrn82 18 en-gpios: 32 wake-gpios: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/ |
| D | nfcmrvl.txt | 1 * 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 …]
|
| D | pn532.txt | 1 * NXP Semiconductors PN532 NFC Controller 4 - compatible: Should be 5 - "nxp,pn532" Place a node with this inside the devicetree node of the bus 6 where the NFC chip is connected to. 7 Currently the kernel has phy bindings for uart and i2c. 8 - "nxp,pn532-i2c" (DEPRECATED) only works for the i2c binding. 9 - "nxp,pn533-i2c" (DEPRECATED) only works for the i2c binding. 12 - clock-frequency: I²C work frequency. 13 - reg: for the I²C bus address. This is fixed at 0x24 for the PN532. 14 - interrupts: GPIO interrupt to which the chip is connected [all …]
|
| /kernel/linux/linux-6.6/drivers/nfc/pn533/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 This driver provides core functionality for NXP PN533 NFC devices. 9 tristate "NFC PN533 device support (USB)" 20 tristate "NFC PN533 device support (I2C)" 31 tristate "NFC PN532 device support (UART)" 35 This module adds support for the NXP pn532 UART interface. 36 Select this if your platform is using the UART bus.
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Makefile for PN533 NFC driver 5 pn533_usb-objs = usb.o 6 pn533_i2c-objs = i2c.o 7 pn532_uart-objs = uart.o 9 obj-$(CONFIG_NFC_PN533) += pn533.o 10 obj-$(CONFIG_NFC_PN533_USB) += pn533_usb.o 11 obj-$(CONFIG_NFC_PN533_I2C) += pn533_i2c.o 12 obj-$(CONFIG_NFC_PN532_UART) += pn532_uart.o
|
| /kernel/linux/linux-5.10/drivers/nfc/pn533/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 This driver provides core functionality for NXP PN533 NFC devices. 9 tristate "NFC PN533 device support (USB)" 20 tristate "NFC PN533 device support (I2C)" 31 tristate "NFC PN532 device support (UART)" 35 This module adds support for the NXP pn532 UART interface. 36 Select this if your platform is using the UART bus.
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Makefile for PN533 NFC driver 5 pn533_usb-objs = usb.o 6 pn533_i2c-objs = i2c.o 7 pn532_uart-objs = uart.o 9 obj-$(CONFIG_NFC_PN533) += pn533.o 10 obj-$(CONFIG_NFC_PN533_USB) += pn533_usb.o 11 obj-$(CONFIG_NFC_PN533_I2C) += pn533_i2c.o 12 obj-$(CONFIG_NFC_PN532_UART) += pn532_uart.o
|
| /kernel/linux/linux-6.6/net/nfc/nci/ |
| D | Kconfig | 1 # 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). 19 NCI (NFC Controller Interface) is a communication protocol between 20 an NFC Controller (NFCC) and a Device Host (DH). 26 tristate "NCI over UART protocol support" 29 Say yes if you use an NCI driver that requires UART link layer.
|
| D | uart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2000-2001 Qualcomm Incorporated 8 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> 9 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org> 30 #include <net/nfc/nci.h> 31 #include <net/nfc/nci_core.h> 41 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue() 44 skb = skb_dequeue(&nu->tx_q); in nci_uart_dequeue() 46 nu->tx_skb = NULL; in nci_uart_dequeue() 53 if (nu->tx_skb) in nci_uart_queue_empty() [all …]
|
| D | Makefile | 1 # 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
|
| /kernel/linux/linux-5.10/net/nfc/nci/ |
| D | Kconfig | 1 # 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). 19 NCI (NFC Controller Interface) is a communication protocol between 20 an NFC Controller (NFCC) and a Device Host (DH). 26 tristate "NCI over UART protocol support" 29 Say yes if you use an NCI driver that requires UART link layer.
|
| D | Makefile | 1 # 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
|
| /kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 Core driver for Samsung S3FWRN5 NFC chip. Contains core utilities 25 tristate "Samsung S3FWRN82 UART support" 29 This module adds support for a UART interface to the S3FWRN82 chip. 30 Select this if your platform is using the UART bus.
|
| D | uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * UART Link Layer for S3FWRN82 NCI based Driver 14 #include <linux/nfc.h> 38 err = serdev_device_write(phy->ser_dev, in s3fwrn82_uart_write() 39 out->data, out->len, in s3fwrn82_uart_write() 62 skb_put_u8(phy->recv_skb, *data++); in s3fwrn82_uart_read() 64 if (phy->recv_skb->len < S3FWRN82_NCI_HEADER) in s3fwrn82_uart_read() 67 if ((phy->recv_skb->len - S3FWRN82_NCI_HEADER) in s3fwrn82_uart_read() 68 < phy->recv_skb->data[S3FWRN82_NCI_IDX]) in s3fwrn82_uart_read() 71 s3fwrn5_recv_frame(phy->common.ndev, phy->recv_skb, in s3fwrn82_uart_read() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Makefile for Samsung S3FWRN5 NFC driver 6 s3fwrn5-objs = core.o firmware.o nci.o phy_common.o 7 s3fwrn5_i2c-objs = i2c.o 8 s3fwrn82_uart-objs = uart.o 10 obj-$(CONFIG_NFC_S3FWRN5) += s3fwrn5.o 11 obj-$(CONFIG_NFC_S3FWRN5_I2C) += s3fwrn5_i2c.o 12 obj-$(CONFIG_NFC_S3FWRN82_UART) += s3fwrn82_uart.o
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | tty.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ 24 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */ 28 #define N_HCI 15 /* Bluetooth HCI UART */ 38 #define N_NCI 25 /* NFC NCI UART */
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/ |
| D | pdm360ng.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009 - 2010 DENX Software Engineering. 17 #address-cells = <1>; 18 #size-cells = <1>; 19 interrupt-parent = <&ipic>; 26 nfc@40000000 { 27 bank-width = <0x1>; 41 compatible = "amd,s29gl01gp", "cfi-flash"; 44 #address-cells = <1>; 45 #size-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/dts/ |
| D | pdm360ng.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009 - 2010 DENX Software Engineering. 17 #address-cells = <1>; 18 #size-cells = <1>; 19 interrupt-parent = <&ipic>; 26 nfc@40000000 { 27 bank-width = <0x1>; 41 compatible = "amd,s29gl01gp", "cfi-flash"; 44 #address-cells = <1>; 45 #size-cells = <1>; [all …]
|