diff options
author | Clément Perrochaud <clement.perrochaud@nxp.com> | 2015-03-09 13:12:04 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-03-26 13:07:50 +0300 |
commit | dece45855a8b0d1dcf48eb01d0822070ded6a4c8 (patch) | |
tree | ed467e14ac657acdc27ceddec268a4bacfe8e20f /include/linux/platform_data/nxp-nci.h | |
parent | 25af01ed18a282e7d324e5694fe67b85ac412994 (diff) | |
download | linux-dece45855a8b0d1dcf48eb01d0822070ded6a4c8.tar.xz |
NFC: nxp-nci: Add support for NXP NCI chips
Add support for NXP NCI NFC controllers such as the NPC100 or PN7150
families.
Signed-off-by: Clément Perrochaud <clement.perrochaud@effinnov.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/platform_data/nxp-nci.h')
-rw-r--r-- | include/linux/platform_data/nxp-nci.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/platform_data/nxp-nci.h b/include/linux/platform_data/nxp-nci.h new file mode 100644 index 000000000000..d6ed28679bb2 --- /dev/null +++ b/include/linux/platform_data/nxp-nci.h @@ -0,0 +1,27 @@ +/* + * Generic platform data for the NXP NCI NFC chips. + * + * Copyright (C) 2014 NXP Semiconductors All rights reserved. + * + * Authors: Clément Perrochaud <clement.perrochaud@nxp.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _NXP_NCI_H_ +#define _NXP_NCI_H_ + +struct nxp_nci_nfc_platform_data { + unsigned int gpio_en; + unsigned int gpio_fw; + unsigned int irq; +}; + +#endif /* _NXP_NCI_H_ */ |