diff options
| author | Vincent Cuissard <cuissard@marvell.com> | 2015-06-11 08:00:19 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-06-11 17:40:23 -0400 |
| commit | dc14bdef8762a8098b1da881b611d722e24fe787 (patch) | |
| tree | 39d165e83956d979519c009fd282026c58fc2925 /include/linux/platform_data | |
| parent | 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 (diff) | |
NFC: nfcmrvl: add platform_data and DT configuration
Declare nfcmrvl platform_data structure and few DT parameters
for nfcmrvl driver.
Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/nfcmrvl.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/platform_data/nfcmrvl.h b/include/linux/platform_data/nfcmrvl.h new file mode 100644 index 000000000000..106cfe5ed589 --- /dev/null +++ b/include/linux/platform_data/nfcmrvl.h | |||
| @@ -0,0 +1,31 @@ | |||
| 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 */ | ||
| 26 | unsigned int reset_n_io; | ||
| 27 | /* Tell if transport is muxed in HCI one */ | ||
| 28 | unsigned int hci_muxed; | ||
| 29 | }; | ||
| 30 | |||
| 31 | #endif /* _NFCMRVL_PTF_H_ */ | ||
