Home
last modified time | relevance | path

Searched +full:st21nfcb +full:- +full:i2c (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/net/nfc/
H A 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#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - st,st21nfcb-i2c
16 - st,st21nfcb-spi
17 - st,st21nfcc-i2c
19 reset-gpios:
22 ese-present:
[all …]
/linux/drivers/nfc/st-nci/
H A Dspi.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved.
19 #include "st-nci.h"
48 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_spi_enable()
50 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_spi_enable()
53 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_spi_enable()
54 enable_irq(phy->spi_dev->irq); in st_nci_spi_enable()
55 phy->irq_active = true; in st_nci_spi_enable()
65 disable_irq_nosync(phy->spi_dev->irq); in st_nci_spi_disable()
66 phy->irq_active = false; in st_nci_spi_disable()
[all …]
H A 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>
18 #include "st-nci.h"
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()
53 enable_irq(phy->i2c_dev->irq); in st_nci_i2c_enable()
54 phy->irq_active = true; in st_nci_i2c_enable()
[all …]