Home
last modified time | relevance | path

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

12345

/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 …]
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Marvell NFC-over-I2C driver: I2C interface related functions
10 #include <linux/i2c.h>
11 #include <linux/nfc.h>
14 #include <net/nfc/nci.h>
15 #include <net/nfc/nci_core.h>
21 struct i2c_client *i2c; member
32 ret = i2c_master_recv(drv_data->i2c, (u8 *)&nci_hdr, NCI_CTRL_HDR_SIZE); in nfcmrvl_i2c_read()
34 nfc_err(&drv_data->i2c->dev, "cannot read NCI header\n"); in nfcmrvl_i2c_read()
35 return -EBADMSG; in nfcmrvl_i2c_read()
[all …]
/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 …]
Dnxp,pn532.yaml1 # 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 …]
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 …]
Dnxp,nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/nxp,nci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Semiconductors NCI NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - const: nxp,nxp-nci-i2c
16 - items:
17 - const: nxp,pn547
18 - const: nxp,nxp-nci-i2c
[all …]
Dnxp,pn544.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/nxp,pn544.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Semiconductors PN544 NFC Controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: nxp,pn544-i2c
22 enable-gpios:
26 firmware-gpios:
31 - compatible
[all …]
Dst,st21nfca.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/nfc/st,st21nfca.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics SAS ST21NFCA NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: st,st21nfca-i2c
16 enable-gpios:
19 ese-present:
30 uicc-present:
[all …]
Dsamsung,s3fwrn5.yaml1 # 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/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)"
11 depends on NFC_NCI && I2C
14 This module adds support for an I2C interface to the
15 STMicroelectronics NFC NCI chips family.
16 Select this if your platform is using the i2c bus.
18 If you choose to build a module, it'll be called st-nci_i2c.
22 tristate "STMicroelectronics ST NCI NFC driver (SPI)"
[all …]
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C Link Layer for ST NCI NFC controller familly based Driver
4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved.
10 #include <linux/i2c.h>
15 #include <linux/nfc.h>
18 #include "st-nci.h"
20 #define DRIVER_DESC "NCI NFC driver for ST_NCI"
47 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_i2c_enable()
49 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_i2c_enable()
52 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_i2c_enable()
[all …]
/Linux-v6.1/drivers/nfc/fdp/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Intel FDP NFC driver"
8 Intel Fields Peak NFC controller core driver.
9 This is a driver based on the NCI NFC kernel layers.
16 tristate "NFC FDP i2c support"
17 depends on NFC_FDP && I2C
19 This module adds support for the Intel Fields Peak NFC controller
20 i2c interface.
21 Select this if your platform is using the i2c bus.
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -------------------------------------------------------------------------
3 * Copyright (C) 2014-2016, Intel Corporation
5 * -------------------------------------------------------------------------
10 #include <linux/i2c.h>
12 #include <linux/nfc.h>
15 #include <net/nfc/nfc.h>
16 #include <net/nfc/nci_core.h>
22 #define FDP_DP_CLOCK_TYPE_NAME "clock-type"
23 #define FDP_DP_CLOCK_FREQ_NAME "clock-freq"
[all …]
/Linux-v6.1/drivers/nfc/pn533/
DKconfig1 # 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)"
21 depends on I2C
24 This module adds support for the NXP pn533 I2C interface.
25 Select this if your platform is using the I2C bus.
31 tristate "NFC PN532 device support (UART)"
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for NXP PN533 NFC Chip - I2C transport layer
6 * Copyright (C) 2012-2013 Tieto Poland
14 #include <linux/i2c.h>
15 #include <linux/nfc.h>
18 #include <net/nfc/nfc.h>
32 * < 0 if hardware error occurred (e.g. i2c err)
39 struct pn533_i2c_phy *phy = dev->phy; in pn533_i2c_send_ack()
40 struct i2c_client *client = phy->i2c_dev; in pn533_i2c_send_ack()
50 struct pn533_i2c_phy *phy = dev->phy; in pn533_i2c_send_frame()
[all …]
/Linux-v6.1/drivers/nfc/st21nfca/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 HCI logic and hooks into the NFC kernel APIs. Physical layers will
11 tristate "STMicroelectronics ST21NFCA NFC driver (I2C)"
12 depends on NFC_HCI && I2C && NFC_SHDLC
15 This module adds support for the STMicroelectronics st21nfca i2c interface.
16 Select this if your platform is using the i2c bus.
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C Link Layer for ST21NFCA HCI based Driver
9 #include <linux/crc-ccitt.h>
11 #include <linux/i2c.h>
18 #include <linux/nfc.h>
21 #include <net/nfc/hci.h>
22 #include <net/nfc/llc.h>
23 #include <net/nfc/nfc.h>
33 * - insert ST21NFCA_ESCAPE_BYTE_STUFFING (escape byte)
34 * - xor byte with ST21NFCA_BYTE_STUFFING_MASK
[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/nxp-nci/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "NXP-NCI NFC driver"
8 This is a driver based on the NCI NFC kernel layers and
16 tristate "NXP-NCI I2C support"
17 depends on NFC_NXP_NCI && I2C
19 This module adds support for an I2C interface to the NXP NCI
21 Select this if your platform is using the I2C bus.
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C link layer for the NXP NCI driver
6 * Copyright (C) 2012-2015 Intel Corporation. All rights reserved.
17 #include <linux/i2c.h>
20 #include <linux/nfc.h>
24 #include <net/nfc/nfc.h>
26 #include "nxp-nci.h"
28 #define NXP_NCI_I2C_DRIVER_NAME "nxp-nci_i2c"
40 * < 0 if hardware error occurred (e.g. i2c err)
50 gpiod_set_value(phy->gpiod_fw, (mode == NXP_NCI_MODE_FW) ? 1 : 0); in nxp_nci_i2c_set_mode()
[all …]
/Linux-v6.1/drivers/nfc/microread/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 NFC chipsets. It implements the chipset HCI logic and hooks into
8 the NFC kernel APIs. Physical layers will register against it.
11 tristate "Inside Secure Microread device support (I2C)"
12 depends on NFC_HCI && I2C && NFC_SHDLC
15 This module adds support for the i2c interface of adapters using
17 the i2c bus.
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HCI based Driver for Inside Secure microread NFC Chip - i2c layer
11 #include <linux/i2c.h>
17 #include <linux/nfc.h>
18 #include <net/nfc/hci.h>
19 #include <net/nfc/llc.h>
43 * < 0 if hardware error occured (e.g. i2c err)
51 print_hex_dump(KERN_DEBUG, "i2c: ", DUMP_PREFIX_OFFSET, \
52 16, 1, (skb)->data, (skb)->len, 0); \
61 len = skb->len; in microread_i2c_add_len_crc()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-a2015-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0";
18 reserved-memory {
20 tz-apps@85500000 {
22 no-map;
[all …]
Dmsm8916-samsung-serranove.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
20 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
26 chassis-type = "handset";
33 stdout-path = "serial0";
36 reserved-memory {
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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 …]

12345