Home
last modified time | relevance | path

Searched full:pn532 (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/nfc/pn533/
Duart.c3 * Driver for NXP PN532 NFC Chip - UART transport layer
34 * request to the pn532 chip prior to our actual command. There is a
52 struct pn532_uart_phy *pn532 = dev->phy; in pn532_uart_send_frame() local
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()
68 pn532->send_wakeup = PN532_SEND_NO_WAKEUP; in pn532_uart_send_frame()
70 err = serdev_device_write(pn532->serdev, out->data, out->len, in pn532_uart_send_frame()
75 mod_timer(&pn532->cmd_timeout, HZ / 40 + jiffies); in pn532_uart_send_frame()
[all …]
DKconfig31 tristate "NFC PN532 device support (UART)"
35 This module adds support for the NXP pn532 UART interface.
Di2c.c257 { .compatible = "nxp,pn532", },
263 { .compatible = "nxp,pn532-i2c", },
/kernel/linux/linux-6.6/drivers/nfc/pn533/
Duart.c3 * Driver for NXP PN532 NFC Chip - UART transport layer
34 * request to the pn532 chip prior to our actual command. There is a
52 struct pn532_uart_phy *pn532 = dev->phy; in pn532_uart_send_frame() local
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()
68 pn532->send_wakeup = PN532_SEND_NO_WAKEUP; in pn532_uart_send_frame()
70 err = serdev_device_write(pn532->serdev, out->data, out->len, in pn532_uart_send_frame()
75 mod_timer(&pn532->cmd_timeout, HZ / 40 + jiffies); in pn532_uart_send_frame()
[all …]
DKconfig31 tristate "NFC PN532 device support (UART)"
35 This module adds support for the NXP pn532 UART interface.
Di2c.c240 { .compatible = "nxp,pn532", },
246 { .compatible = "nxp,pn532-i2c", },
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dpn532.txt1 * NXP Semiconductors PN532 NFC Controller
5 - "nxp,pn532" Place a node with this inside the devicetree node of the bus
8 - "nxp,pn532-i2c" (DEPRECATED) only works for the i2c binding.
13 - reg: for the I²C bus address. This is fixed at 0x24 for the PN532.
20 Example (for ARM-based BeagleBone with PN532 on I2C2):
25 pn532: nfc@24 {
27 compatible = "nxp,pn532";
38 Example (for PN532 connected via uart):
43 pn532: nfc {
44 compatible = "nxp,pn532";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
Dnxp,pn532.yaml4 $id: http://devicetree.org/schemas/net/nfc/nxp,pn532.yaml#
7 title: NXP Semiconductors PN532 NFC controller
15 - const: nxp,pn532
18 - nxp,pn532-i2c
39 # PN532 on I2C bus
48 compatible = "nxp,pn532";
57 # PN532 connected via UART
63 compatible = "nxp,pn532";