aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-10-26 10:27:41 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-27 04:21:14 +0100
commitb5b3e23e4cace008e1a30e8614a484d14dfd07a1 (patch)
tree451bd798e76313fb43dc654530374d4b3c6e3d5c /include/linux/platform_data
parentNFC: nfcmrvl: configure head/tail room values per low level drivers (diff)
downloadlinux-dev-b5b3e23e4cace008e1a30e8614a484d14dfd07a1.tar.xz
linux-dev-b5b3e23e4cace008e1a30e8614a484d14dfd07a1.zip
NFC: nfcmrvl: add i2c driver
This driver adds the support of I2C-based Marvell NFC controller. 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/platform_data/nfcmrvl.h b/include/linux/platform_data/nfcmrvl.h
index ac91707dabcb..a6f9d633f5be 100644
--- a/include/linux/platform_data/nfcmrvl.h
+++ b/include/linux/platform_data/nfcmrvl.h
@@ -35,6 +35,14 @@ struct nfcmrvl_platform_data {
unsigned int flow_control;
/* Tell if firmware supports break control for power management */
unsigned int break_control;
+
+
+ /*
+ * I2C specific
+ */
+
+ unsigned int irq;
+ unsigned int irq_polarity;
};
#endif /* _NFCMRVL_PTF_H_ */