Home
last modified time | relevance | path

Searched +full:hci +full:- +full:muxed (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dnfcmrvl.txt4 - compatible: Should be:
5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6 - "marvell,nfc-i2c" for I2C devices
7 - "marvell,nfc-spi" for SPI devices
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
16 - flow-control: Specifies that the chip is using RTS/CTS.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
Dmarvell,nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - marvell,nfc-i2c
16 - marvell,nfc-spi
17 - marvell,nfc-uart
19 hci-muxed:
22 Specifies that the chip is muxing NCI over HCI frames
30 reset-n-io:
[all …]
/kernel/linux/linux-6.6/drivers/nfc/nfcmrvl/
Dnfcmrvl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2014-2015, Marvell International Ltd.
34 * HCI defines
58 /* Tell if transport is muxed in HCI one */
Duart.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Marvell NFC-over-UART driver
18 static int reset_n_io = -EINVAL;
37 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send()
39 return nu->ops.send(nu, skb); in nfcmrvl_uart_nci_send()
45 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config()
48 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config()
49 config->flow_control); in nfcmrvl_uart_nci_update_config()
65 matched_node = of_get_compatible_child(node, "marvell,nfc-uart"); in nfcmrvl_uart_parse_dt()
67 matched_node = of_get_compatible_child(node, "mrvl,nfc-uart"); in nfcmrvl_uart_parse_dt()
[all …]
Dmain.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2015 Marvell International Ltd.
22 if (test_and_set_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_open()
26 clear_bit(NFCMRVL_PHY_ERROR, &priv->flags); in nfcmrvl_nci_open()
28 err = priv->if_ops->nci_open(priv); in nfcmrvl_nci_open()
31 clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags); in nfcmrvl_nci_open()
40 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_close()
43 priv->if_ops->nci_close(priv); in nfcmrvl_nci_close()
52 nfc_info(priv->dev, "send entry, len %d\n", skb->len); in nfcmrvl_nci_send()
54 skb->dev = (void *)ndev; in nfcmrvl_nci_send()
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dnfcmrvl.h9 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
11 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
27 /* Tell if transport is muxed in HCI one */
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
Duart.c2 * Marvell NFC-over-UART driver
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
29 static int reset_n_io = -EINVAL;
48 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send()
50 return nu->ops.send(nu, skb); in nfcmrvl_uart_nci_send()
56 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config()
59 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config()
60 config->flow_control); in nfcmrvl_uart_nci_update_config()
76 matched_node = of_get_compatible_child(node, "marvell,nfc-uart"); in nfcmrvl_uart_parse_dt()
[all …]
Dmain.c4 * Copyright (C) 2014-2015 Marvell International Ltd.
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
33 if (test_and_set_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_open()
37 clear_bit(NFCMRVL_PHY_ERROR, &priv->flags); in nfcmrvl_nci_open()
39 err = priv->if_ops->nci_open(priv); in nfcmrvl_nci_open()
42 clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags); in nfcmrvl_nci_open()
51 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_close()
54 priv->if_ops->nci_close(priv); in nfcmrvl_nci_close()
63 nfc_info(priv->dev, "send entry, len %d\n", skb->len); in nfcmrvl_nci_send()
[all …]