summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorClément Perrochaud <clement.perrochaud@nxp.com>2015-03-09 11:12:04 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-03-26 11:07:50 +0100
commitdece45855a8b0d1dcf48eb01d0822070ded6a4c8 (patch)
treeed467e14ac657acdc27ceddec268a4bacfe8e20f /include/linux/platform_data
parent25af01ed18a282e7d324e5694fe67b85ac412994 (diff)
downloadop-kernel-dev-dece45855a8b0d1dcf48eb01d0822070ded6a4c8.zip
op-kernel-dev-dece45855a8b0d1dcf48eb01d0822070ded6a4c8.tar.gz
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')
-rw-r--r--include/linux/platform_data/nxp-nci.h27
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 0000000..d6ed286
--- /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_ */
OpenPOWER on IntegriCloud