43c4d13e90
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>
24 lines
533 B
C
24 lines
533 B
C
#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 */
|