diff options
| author | Simon Budig <simon.budig@kernelconcepts.de> | 2012-07-25 02:29:36 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-25 02:55:03 -0400 |
| commit | 43c4d13e901a8f37d9abbd410f093ebe885b5322 (patch) | |
| tree | 80ba618fd4ec2a5e07ed25ed803446f42e19b038 /include/linux/input | |
| parent | 07b8481d4aff73d6f451f25e74ea10240ff5131e (diff) | |
Input: add driver for FT5x06 based EDT displays
This is a driver for the EDT "Polytouch" family of touch controllers
based on the FocalTech FT5x06 line of chips.
Signed-off-by: Simon Budig <simon.budig@kernelconcepts.de>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/edt-ft5x06.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/input/edt-ft5x06.h b/include/linux/input/edt-ft5x06.h new file mode 100644 index 000000000000..8a1e0d1a0124 --- /dev/null +++ b/include/linux/input/edt-ft5x06.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #ifndef _EDT_FT5X06_H | ||
| 2 | #define _EDT_FT5X06_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * Copyright (c) 2012 Simon Budig, <simon.budig@kernelconcepts.de> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published by | ||
| 9 | * the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | struct edt_ft5x06_platform_data { | ||
| 13 | int irq_pin; | ||
| 14 | int reset_pin; | ||
| 15 | |||
| 16 | /* startup defaults for operational parameters */ | ||
| 17 | bool use_parameters; | ||
| 18 | u8 gain; | ||
| 19 | u8 threshold; | ||
| 20 | u8 offset; | ||
| 21 | u8 report_rate; | ||
| 22 | }; | ||
| 23 | |||
| 24 | #endif /* _EDT_FT5X06_H */ | ||
