mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
Input: add support for TI Touchscreen controller
This patch adds support for TI's touchscreen controller for a 4/5/8 wire resistive panel that is directly fed to the ADC. This touchscreen controller will be part of AM335x TI SoC. The TRM can be found at: http://www.ti.com/lit/ug/spruh73a/spruh73a.pdf Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
f79e30a809
commit
1b8be32e69
4 changed files with 516 additions and 0 deletions
17
include/linux/input/ti_tscadc.h
Normal file
17
include/linux/input/ti_tscadc.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef __LINUX_TI_TSCADC_H
|
||||
#define __LINUX_TI_TSCADC_H
|
||||
|
||||
/**
|
||||
* struct tsc_data Touchscreen wire configuration
|
||||
* @wires: Wires refer to application modes
|
||||
* i.e. 4/5/8 wire touchscreen support
|
||||
* on the platform.
|
||||
* @x_plate_resistance: X plate resistance.
|
||||
*/
|
||||
|
||||
struct tsc_data {
|
||||
int wires;
|
||||
int x_plate_resistance;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue