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