| /linux/drivers/nfc/nfcmrvl/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | nfcmrvl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Marvell NFC driver 5 * Copyright (C) 2014-2015, Marvell International Ltd. 62 * UART specific 65 /* Tell if UART needs flow control at init */
|
| H A 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
|
| H A 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/Documentation/devicetree/bindings/net/nfc/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/nfc/pn533/ |
| H A 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.
|
| H A 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
|
| H A 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/net/nfc/nci/ |
| H A 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.
|
| H A 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 …]
|
| H A 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/drivers/nfc/s3fwrn5/ |
| H A 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() 61 skb_put_u8(phy->recv_skb, *data++); in s3fwrn82_uart_read() 63 if (phy->recv_skb->len < S3FWRN82_NCI_HEADER) in s3fwrn82_uart_read() 66 if ((phy->recv_skb->len - S3FWRN82_NCI_HEADER) in s3fwrn82_uart_read() 67 < phy->recv_skb->data[S3FWRN82_NCI_IDX]) in s3fwrn82_uart_read() 70 s3fwrn5_recv_frame(phy->common.ndev, phy->recv_skb, in s3fwrn82_uart_read() [all …]
|
| H A 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/arch/powerpc/boot/dts/ |
| H A 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 …]
|
| H A 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/include/uapi/linux/ |
| H A 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 */
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A 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 …]
|
| H A D | rk3xxx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/soc/rockchip,boot-mode.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 interrupt-parent = <&gic>; 37 compatible = "fixed-clock"; 38 clock-frequency = <24000000>; 39 #clock-cells = <0>; [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A 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 …]
|
| H A D | imx6ull-dhcor-maveo-box.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG 8 * DHCOR PCB number: 578-200 or newer 9 * maveo box PCB number: 525-200 or newer 12 /dts-v1/; 14 #include "imx6ull-dhcor-som.dtsi" 18 compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som", 28 stdout-path = "serial0:115200n8"; 31 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 32 compatible = "regulator-fixed"; [all …]
|
| H A D | imx31.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright 2016-2018 Vladimir Zapolskiy <vz@mleia.com> 4 // Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> 7 #address-cells = <1>; 8 #size-cells = <1>; 11 * pre-existing /chosen node to be available to insert the 34 #address-cells = <1>; 35 #size-cells = <0>; 38 compatible = "arm,arm1136jf-s"; 44 avic: interrupt-controller@68000000 { [all …]
|
| H A D | imx27-eukrea-cpuimx27.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 18 clk14745600: clk-uart { 19 compatible = "fixed-clock"; 20 #clock-cells = <0>; 21 clock-frequency = <14745600>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_fec>; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&pinctrl_i2c1>; [all …]
|