Searched +full:st21nfcb +full:- +full:i2c (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---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-i2c16 - st,st21nfcb-spi17 - st,st21nfcc-i2c19 reset-gpios:22 ese-present:[all …]
1 // SPDX-License-Identifier: GPL-2.0-only4 * 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * I2C Link Layer for ST NCI NFC controller familly based Driver4 * 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 …]