Home
last modified time | relevance | path

Searched +full:pn544 +full:- +full:i2c (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/nfc/pn544/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 NXP PN544 core driver.
11 tristate "NXP PN544 device support (I2C)"
12 depends on NFC_HCI && I2C && NFC_SHDLC
15 This module adds support for the NXP pn544 i2c interface.
16 Select this if your platform is using the i2c bus.
22 tristate "NXP PN544 device support (MEI)"
27 NXP pn544 chipsets. Select this if your pn544 chipset
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for PN544 HCI based NFC driver
6 pn544_i2c-objs = i2c.o
7 pn544_mei-objs = mei.o
9 obj-$(CONFIG_NFC_PN544) += pn544.o
10 obj-$(CONFIG_NFC_PN544_I2C) += pn544_i2c.o
11 obj-$(CONFIG_NFC_PN544_MEI) += pn544_mei.o
H A Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C Link Layer for PN544 HCI based Driver
10 #include <linux/crc-ccitt.h>
12 #include <linux/i2c.h>
26 #include "pn544.h"
47 { "pn544" },
51 MODULE_DEVICE_TABLE(i2c, pn544_hci_i2c_id_table);
132 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\
136 #define PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN (PN544_FW_I2C_MAX_PAYLOAD -\
174 * < 0 if hardware error occured (e.g. i2c err)
[all …]
/linux/Documentation/devicetree/bindings/net/nfc/
H A 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:
23 description: Output GPIO pin used for enabling/disabling the PN544
26 firmware-gpios:
[all …]
/linux/Documentation/driver-api/nfc/
H A Dnfc-pn544.rst2 Kernel driver for the NXP Semiconductors PN544 Near Field Communication chip
7 -------
9 The PN544 is an integrated transmission module for contactless
11 module named "pn544".
13 Host Interfaces: I2C, SPI and HSU, this driver supports currently only I2C.
16 ---------
H A Dnfc-hci.rst5 - 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
17 ---
30 - one for executing commands : nfc_hci_msg_tx_work(). Only one command
32 - one for dispatching received events and commands : nfc_hci_msg_rx_work().
35 --------------------------
41 In case the chip supports pre-opened gates and pseudo-static pipes, the driver
45 -------------------
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-asus-nexus7-grouper.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include "tegra30-asus-nexus7-grouper-common.dtsi"
4 #include "tegra30-asus-nexus7-grouper-memory-timings.dtsi"
16 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
23 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
30 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
37 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
44 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
51 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
58 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
[all …]
H A Dtegra30-asus-nexus7-tilapia.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include "tegra30-asus-nexus7-grouper-common.dtsi"
4 #include "tegra30-asus-nexus7-tilapia-memory-timings.dtsi"
10 init-mode-3g-hog {
11 gpio-hog;
30 output-low;
41 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
48 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
55 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
62 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra30-lg-x3.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/mfd/max77620.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra30-cpu-opp.dtsi"
11 #include "tegra30-cpu-opp-microvolt.dtsi"
14 chassis-type = "handset";
30 * pre-existing /chosen node to be available to insert the
[all …]
/linux/drivers/nfc/nxp-nci/
H A 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.
11 * Derived from PN544 device driver:
17 #include <linux/i2c.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()
51 gpiod_set_value(phy->gpiod_en, (mode != NXP_NCI_MODE_COLD) ? 1 : 0); in nxp_nci_i2c_set_mode()
[all …]
/linux/arch/arm/boot/dts/st/
H A 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
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"
23 #include "ste-ab8500.dtsi"
[all …]
H A Dste-ux500-samsung-janice.dts1 // 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/arch/arm64/boot/dts/mediatek/
H A Dmt6795-sony-xperia-m5.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
14 compatible = "sony,xperia-m5", "mediatek,mt6795";
15 chassis-type = "handset";
26 compatible = "led-backlight";
29 default-brightness-level = <300>;
32 led-controller-display {
33 compatible = "pwm-leds";
35 disp_led_pwm: led-0 {
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8926-htc-memul.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
11 /delete-node/ &adsp_region;
12 /delete-node/ &smem_region;
17 chassis-type = "handset";
23 gpio-keys {
24 compatible = "gpio-keys";
26 key-power {
30 debounce-interval = <15>;
[all …]
H A Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8994-msft-lumia-octagon.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &audio_mem;
22 /delete-node/ &cont_splash_mem;
23 /delete-node/ &mba_mem;
24 /delete-node/ &mpss_mem;
25 /delete-node/ &peripheral_region;
[all …]