1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * NCI based driver for Samsung S3FWRN5 NFC chip
5 * Copyright (C) 2015 Samsung Electrnoics
6 * Robert Baldyga <r.baldyga@samsung.com>
9 #ifndef __LOCAL_S3FWRN5_NCI_H_
10 #define __LOCAL_S3FWRN5_NCI_H_
14 #define NCI_PROP_SET_RFREG 0x22
16 struct nci_prop_set_rfreg_cmd
{
21 struct nci_prop_set_rfreg_rsp
{
25 #define NCI_PROP_START_RFREG 0x26
27 struct nci_prop_start_rfreg_rsp
{
31 #define NCI_PROP_STOP_RFREG 0x27
33 struct nci_prop_stop_rfreg_cmd
{
37 struct nci_prop_stop_rfreg_rsp
{
41 #define NCI_PROP_FW_CFG 0x28
43 struct nci_prop_fw_cfg_cmd
{
49 struct nci_prop_fw_cfg_rsp
{
53 void s3fwrn5_nci_get_prop_ops(struct nci_driver_ops
**ops
, size_t *n
);
54 int s3fwrn5_nci_rf_configure(struct s3fwrn5_info
*info
, const char *fw_name
);
56 #endif /* __LOCAL_S3FWRN5_NCI_H_ */