summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/input/edt-ft5x06.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/input/edt-ft5x06.h')
-rw-r--r--kernel/include/linux/input/edt-ft5x06.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/include/linux/input/edt-ft5x06.h b/kernel/include/linux/input/edt-ft5x06.h
new file mode 100644
index 000000000..8a1e0d1a0
--- /dev/null
+++ b/kernel/include/linux/input/edt-ft5x06.h
@@ -0,0 +1,24 @@
+#ifndef _EDT_FT5X06_H
+#define _EDT_FT5X06_H
+
+/*
+ * Copyright (c) 2012 Simon Budig, <simon.budig@kernelconcepts.de>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ */
+
+struct edt_ft5x06_platform_data {
+ int irq_pin;
+ int reset_pin;
+
+ /* startup defaults for operational parameters */
+ bool use_parameters;
+ u8 gain;
+ u8 threshold;
+ u8 offset;
+ u8 report_rate;
+};
+
+#endif /* _EDT_FT5X06_H */