1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* -------------------------------------------------------------------------
3 * Copyright (C) 2014-2016, Intel Corporation
5 * -------------------------------------------------------------------------
11 #include <net/nfc/nci_core.h>
12 #include <linux/gpio/consumer.h>
15 struct i2c_client
*i2c_dev
;
16 struct gpio_desc
*power_gpio
;
19 /* < 0 if i2c error occurred */
21 uint16_t next_read_size
;
24 int fdp_nci_probe(struct fdp_i2c_phy
*phy
, struct nfc_phy_ops
*phy_ops
,
25 struct nci_dev
**ndev
, int tx_headroom
, int tx_tailroom
,
26 u8 clock_type
, u32 clock_freq
, u8
*fw_vsc_cfg
);
27 void fdp_nci_remove(struct nci_dev
*ndev
);
28 int fdp_nci_recv_frame(struct nci_dev
*ndev
, struct sk_buff
*skb
);
30 #endif /* __LOCAL_FDP_H_ */