]>
Commit | Line | Data |
---|---|---|
dc14bdef VC |
1 | /* |
2 | * Copyright (C) 2015, Marvell International Ltd. | |
3 | * | |
4 | * This software file (the "File") is distributed by Marvell International | |
5 | * Ltd. under the terms of the GNU General Public License Version 2, June 1991 | |
6 | * (the "License"). You may use, redistribute and/or modify this File in | |
7 | * accordance with the terms and conditions of the License, a copy of which | |
8 | * is available on the worldwide web at | |
9 | * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. | |
10 | * | |
11 | * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE | |
12 | * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE | |
13 | * ARE EXPRESSLY DISCLAIMED. The License provides additional details about | |
14 | * this warranty disclaimer. | |
15 | */ | |
16 | ||
17 | #ifndef _NFCMRVL_PTF_H_ | |
18 | #define _NFCMRVL_PTF_H_ | |
19 | ||
20 | struct nfcmrvl_platform_data { | |
21 | /* | |
22 | * Generic | |
23 | */ | |
24 | ||
25 | /* GPIO that is wired to RESET_N signal */ | |
e33a3f84 | 26 | int reset_n_io; |
dc14bdef VC |
27 | /* Tell if transport is muxed in HCI one */ |
28 | unsigned int hci_muxed; | |
e097dc62 VC |
29 | |
30 | /* | |
31 | * UART specific | |
32 | */ | |
33 | ||
34 | /* Tell if UART needs flow control at init */ | |
35 | unsigned int flow_control; | |
36 | /* Tell if firmware supports break control for power management */ | |
37 | unsigned int break_control; | |
b5b3e23e VC |
38 | |
39 | ||
40 | /* | |
41 | * I2C specific | |
42 | */ | |
43 | ||
44 | unsigned int irq; | |
45 | unsigned int irq_polarity; | |
dc14bdef VC |
46 | }; |
47 | ||
48 | #endif /* _NFCMRVL_PTF_H_ */ |