18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2011 - 2012  Intel Corporation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef __LOCAL_PN544_H_
78c2ecf20Sopenharmony_ci#define __LOCAL_PN544_H_
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <net/nfc/hci.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define DRIVER_DESC "HCI NFC driver for PN544"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define PN544_HCI_MODE 0
148c2ecf20Sopenharmony_ci#define PN544_FW_MODE 1
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_citypedef int (*fw_download_t)(void *context, const char *firmware_name,
178c2ecf20Sopenharmony_ci				u8 hw_variant);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciint pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
208c2ecf20Sopenharmony_ci		    int phy_headroom, int phy_tailroom, int phy_payload,
218c2ecf20Sopenharmony_ci		    fw_download_t fw_download, struct nfc_hci_dev **hdev);
228c2ecf20Sopenharmony_civoid pn544_hci_remove(struct nfc_hci_dev *hdev);
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif /* __LOCAL_PN544_H_ */
25