/openbmc/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 | 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 …]
|
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
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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
|
/openbmc/linux/drivers/nfc/s3fwrn5/ |
H A 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.
|
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() 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 …]
|
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
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | sama5d4.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Chip-specific header file for the SAMA5D4 SoC 31 #define ATMEL_ID_MATRIX1 17 /* H32MX, 32-bit AHB Matrix */ 32 #define ATMEL_ID_MATRIX0 18 /* H64MX, 64-bit AHB Matrix */ 35 #define ATMEL_ID_SMC 22 /* Multi-bit ECC interrupt */ 40 #define ATMEL_ID_UART0 27 /* UART 0 */ 41 #define ATMEL_ID_UART1 28 /* UART 1 */ 45 #define ATMEL_ID_TWI0 32 /* Two-Wire Interface 0 */ 46 #define ATMEL_ID_TWI1 33 /* Two-Wire Interface 1 */ 47 #define ATMEL_ID_TWI2 34 /* Two-Wire Interface 2 */ [all …]
|
/openbmc/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 */
|
/openbmc/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 | rk3128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/rk3128-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 14 interrupt-parent = <&gic>; 15 #address-cells = <1>; 16 #size-cells = <1>; 18 arm-pmu { [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/ |
H A D | packagegroup-base.bb | 11 packagegroup-base \ 12 packagegroup-base-extended \ 13 packagegroup-distro-base \ 14 packagegroup-machine-base \ 16 ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \ 17 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \ 18 ${@bb.utils.contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \ 19 ${@bb.utils.contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \ 20 … ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \ 21 ${@bb.utils.contains("MACHINE_FEATURES", "pci", "packagegroup-base-pci", "",d)} \ [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A 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 …]
|
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 …]
|