1 /*
2  * Copyright (C) 2012-2018 NXP Semiconductors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * NXP ESE features macros definitions
19  */
20 
21 #ifndef NXP_ESE_FEATURES_H
22 #define NXP_ESE_FEATURES_H
23 
24 #if (NFC_NXP_CHIP_TYPE == PN65T)
25 #define NXP_POWER_SCHEME_SUPPORT FALSE
26 #define NXP_ESE_P73_ISO_RST FALSE
27 #define NXP_ESE_END_OF_SESSION FALSE
28 #define NXP_NFCC_SPI_FW_DOWNLOAD_SYNC FALSE
29 #define NXP_ESE_JCOP_DWNLD_PROTECTION FALSE
30 #define NXP_SECURE_TIMER_SESSION FALSE
31 #elif (NFC_NXP_CHIP_TYPE == PN66T)
32 #define NXP_POWER_SCHEME_SUPPORT FALSE
33 #define NXP_ESE_P73_ISO_RST FALSE
34 #define NXP_ESE_END_OF_SESSION FALSE
35 #define NXP_NFCC_SPI_FW_DOWNLOAD_SYNC FALSE
36 #define NXP_ESE_JCOP_DWNLD_PROTECTION FALSE
37 #define NXP_SECURE_TIMER_SESSION FALSE
38 #elif (NFC_NXP_CHIP_TYPE == PN67T)
39 #define NXP_POWER_SCHEME_SUPPORT FALSE
40 #define NXP_ESE_P73_ISO_RST FALSE
41 #define NXP_ESE_END_OF_SESSION FALSE
42 #define NXP_NFCC_SPI_FW_DOWNLOAD_SYNC FALSE
43 #define NXP_ESE_JCOP_DWNLD_PROTECTION FALSE
44 #define NXP_SECURE_TIMER_SESSION FALSE
45 #elif (NFC_NXP_CHIP_TYPE == PN80T)
46 #define NXP_POWER_SCHEME_SUPPORT TRUE
47 #define NXP_ESE_P73_ISO_RST TRUE
48 #define NXP_ESE_END_OF_SESSION TRUE
49 #define NXP_ESE_WTX_RES_DELAY TRUE
50 #define NXP_ESE_JCOP_DWNLD_PROTECTION TRUE
51 #define NXP_NFCC_SPI_FW_DOWNLOAD_SYNC TRUE
52 #define NXP_SECURE_TIMER_SESSION TRUE
53 #elif (NFC_NXP_CHIP_TYPE == PN81A)
54 #define NXP_POWER_SCHEME_SUPPORT TRUE
55 #define NXP_ESE_P73_ISO_RST TRUE
56 #define NXP_ESE_END_OF_SESSION TRUE
57 #define NXP_ESE_WTX_RES_DELAY TRUE
58 #define NXP_ESE_JCOP_DWNLD_PROTECTION TRUE
59 #define NXP_NFCC_SPI_FW_DOWNLOAD_SYNC TRUE
60 #define NXP_SECURE_TIMER_SESSION TRUE
61 #endif
62 
63 #endif /* end of #ifndef NXP_ESE_FEATURES_H */
64