mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-26 04:53:10 +00:00
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>
This commit is contained in:
committed by
Dmitry Torokhov
parent
07b8481d4a
commit
43c4d13e90
24
include/linux/input/edt-ft5x06.h
Normal file
24
include/linux/input/edt-ft5x06.h
Normal file
@ -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 */
|
||||
Reference in New Issue
Block a user