mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
1b8be32e69
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>
18 lines
334 B
C
18 lines
334 B
C
#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
|