Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / nfc / pn544 / pn544.h
blobc6fe3e11e0c8e373643bb10ece413ff8a85cd5e4
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2011 - 2012 Intel Corporation. All rights reserved.
4 */
6 #ifndef __LOCAL_PN544_H_
7 #define __LOCAL_PN544_H_
9 #include <net/nfc/hci.h>
11 #define DRIVER_DESC "HCI NFC driver for PN544"
13 #define PN544_HCI_MODE 0
14 #define PN544_FW_MODE 1
16 typedef int (*fw_download_t)(void *context, const char *firmware_name,
17 u8 hw_variant);
19 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
20 char *llc_name, int phy_headroom, int phy_tailroom,
21 int phy_payload, fw_download_t fw_download,
22 struct nfc_hci_dev **hdev);
23 void pn544_hci_remove(struct nfc_hci_dev *hdev);
25 #endif /* __LOCAL_PN544_H_ */