Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright (C) 2015, Marvell International Ltd.
0003  *
0004  * This software file (the "File") is distributed by Marvell International
0005  * Ltd. under the terms of the GNU General Public License Version 2, June 1991
0006  * (the "License").  You may use, redistribute and/or modify this File in
0007  * accordance with the terms and conditions of the License, a copy of which
0008  * is available on the worldwide web at
0009  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
0010  *
0011  * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
0012  * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
0013  * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
0014  * this warranty disclaimer.
0015  */
0016 
0017 #ifndef _NFCMRVL_PTF_H_
0018 #define _NFCMRVL_PTF_H_
0019 
0020 struct nfcmrvl_platform_data {
0021     /*
0022      * Generic
0023      */
0024 
0025     /* GPIO that is wired to RESET_N signal */
0026     int reset_n_io;
0027     /* Tell if transport is muxed in HCI one */
0028     unsigned int hci_muxed;
0029 
0030     /*
0031      * UART specific
0032      */
0033 
0034     /* Tell if UART needs flow control at init */
0035     unsigned int flow_control;
0036     /* Tell if firmware supports break control for power management */
0037     unsigned int break_control;
0038 
0039 
0040     /*
0041      * I2C specific
0042      */
0043 
0044     unsigned int irq;
0045     unsigned int irq_polarity;
0046 };
0047 
0048 #endif /* _NFCMRVL_PTF_H_ */