0001
0002
0003
0004
0005
0006 #ifndef __LOCAL_PN544_H_
0007 #define __LOCAL_PN544_H_
0008
0009 #include <net/nfc/hci.h>
0010
0011 #define DRIVER_DESC "HCI NFC driver for PN544"
0012
0013 #define PN544_HCI_MODE 0
0014 #define PN544_FW_MODE 1
0015
0016 typedef int (*fw_download_t)(void *context, const char *firmware_name,
0017 u8 hw_variant);
0018
0019 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
0020 char *llc_name, int phy_headroom, int phy_tailroom,
0021 int phy_payload, fw_download_t fw_download,
0022 struct nfc_hci_dev **hdev);
0023 void pn544_hci_remove(struct nfc_hci_dev *hdev);
0024
0025 #endif