linux/drivers/nfc/nfcmrvl/uart.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Marvell NFC-over-UART driver
 *
 * Copyright (C) 2015, Marvell International Ltd.
 */

#include <linux/module.h>
#include <linux/delay.h>
#include <linux/of_gpio.h>
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
#include "nfcmrvl.h"

static unsigned int hci_muxed;
static unsigned int flow_control;
static unsigned int break_control;
static int reset_n_io =;

/*
 * NFCMRVL NCI OPS
 */

static int nfcmrvl_uart_nci_open(struct nfcmrvl_private *priv)
{}

static int nfcmrvl_uart_nci_close(struct nfcmrvl_private *priv)
{}

static int nfcmrvl_uart_nci_send(struct nfcmrvl_private *priv,
				 struct sk_buff *skb)
{}

static void nfcmrvl_uart_nci_update_config(struct nfcmrvl_private *priv,
					   const void *param)
{}

static const struct nfcmrvl_if_ops uart_ops =;

static int nfcmrvl_uart_parse_dt(struct device_node *node,
				 struct nfcmrvl_platform_data *pdata)
{}

/*
 * NCI UART OPS
 */

static int nfcmrvl_nci_uart_open(struct nci_uart *nu)
{}

static void nfcmrvl_nci_uart_close(struct nci_uart *nu)
{}

static int nfcmrvl_nci_uart_recv(struct nci_uart *nu, struct sk_buff *skb)
{}

static void nfcmrvl_nci_uart_tx_start(struct nci_uart *nu)
{}

static void nfcmrvl_nci_uart_tx_done(struct nci_uart *nu)
{}

static struct nci_uart nfcmrvl_nci_uart =;
module_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

module_param(flow_control, uint, 0);
MODULE_PARM_DESC();

module_param(break_control, uint, 0);
MODULE_PARM_DESC();

module_param(hci_muxed, uint, 0);
MODULE_PARM_DESC();

module_param(reset_n_io, int, 0);
MODULE_PARM_DESC();