/Linux-v6.1/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 …]
|
D | fw_dnld.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Marvell NFC driver: Firmware downloader 44 struct nfcmrvl_fw_uart_config uart; member
|
D | fw_dnld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Marvell NFC driver: Firmware downloader 11 #include <linux/nfc.h> 12 #include <net/nfc/nci.h> 13 #include <net/nfc/nci_core.h> 78 skb = nci_skb_alloc(priv->ndev, (NCI_DATA_HDR_SIZE + plen), GFP_KERNEL); in alloc_lc_skb() 83 hdr->conn_id = NCI_CORE_LC_CONNID_PROP_FW_DL; in alloc_lc_skb() 84 hdr->rfu = 0; in alloc_lc_skb() 85 hdr->plen = plen; in alloc_lc_skb() 95 if (priv->fw_dnld.fw) { in fw_dnld_over() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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
|
D | uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for NXP PN532 NFC Chip - UART transport layer 13 #include <linux/nfc.h> 38 * no-op to the chip. 52 struct pn532_uart_phy *pn532 = dev->phy; in pn532_uart_send_frame() 56 out->data, out->len, false); in pn532_uart_send_frame() 58 pn532->cur_out_buf = out; in pn532_uart_send_frame() 59 if (pn532->send_wakeup) { in pn532_uart_send_frame() 60 err = serdev_device_write(pn532->serdev, in pn532_uart_send_frame() 67 if (pn532->send_wakeup == PN532_SEND_LAST_WAKEUP) in pn532_uart_send_frame() [all …]
|
/Linux-v6.1/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
|
/Linux-v6.1/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
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | ste-ux500-samsung-codina.dts | 1 // 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 …]
|
D | rk3036.dtsi | 1 // 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 …]
|
D | imx35-pdk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 11 compatible = "fsl,imx35-pdk", "fsl,imx35"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_esdhc1>; 27 imx35-pdk { 50 &nfc { 51 nand-bus-width = <16>; 52 nand-ecc-mode = "hw"; 53 nand-on-flash-bbt; [all …]
|
D | imx31-lite.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com> 5 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "logicpd,imx31-lite", "fsl,imx31"; 17 stdout-path = &uart1; 26 compatible = "gpio-leds"; 42 &nfc { 43 nand-bus-width = <8>; [all …]
|
D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/Linux-v6.1/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 …]
|
D | mpc5121ads.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Freescale Semiconductor Inc. 14 nfc@40000000 { 32 compatible = "cfi-flash"; 34 #address-cells = <1>; 35 #size-cells = <1>; 36 bank-width = <4>; 37 device-width = <2>; 42 read-only; 52 device-tree@3ec0000 { [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | tty.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ 22 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */ 26 #define N_HCI 15 /* Bluetooth HCI UART */ 36 #define N_NCI 25 /* NFC NCI UART */ 39 #define N_MCTP 28 /* MCTP-over-serial */ 40 #define N_DEVELOPMENT 29 /* Manual out-of-tree testing */ 41 #define N_CAN327 30 /* ELM327 based OBD-II interfaces */
|