diff options
author | Simon Budig <simon.budig@kernelconcepts.de> | 2012-07-24 23:29:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-24 23:55:03 -0700 |
commit | 43c4d13e901a8f37d9abbd410f093ebe885b5322 (patch) | |
tree | 80ba618fd4ec2a5e07ed25ed803446f42e19b038 /include/linux/input | |
parent | 07b8481d4aff73d6f451f25e74ea10240ff5131e (diff) | |
download | linux-43c4d13e901a8f37d9abbd410f093ebe885b5322.tar.gz linux-43c4d13e901a8f37d9abbd410f093ebe885b5322.tar.bz2 linux-43c4d13e901a8f37d9abbd410f093ebe885b5322.zip |
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 @@ +#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 */ |