blob: 49269a2aa329ee84f99e3807cc0b782a53c9f85f [file] [log] [blame]
Patil, Rachna55c04de2012-10-16 12:55:42 +05301#ifndef __LINUX_TI_AM335X_TSC_H
2#define __LINUX_TI_AM335X_TSC_H
Rachna Patil1b8be322012-03-04 08:11:57 -08003
4/**
5 * struct tsc_data Touchscreen wire configuration
6 * @wires: Wires refer to application modes
7 * i.e. 4/5/8 wire touchscreen support
8 * on the platform.
9 * @x_plate_resistance: X plate resistance.
Patil, Rachnad1fb5742012-10-16 12:55:39 +053010 * @steps_to_configure: The sequencer supports a total of
11 * 16 programmable steps.
12 * A step configured to read a single
13 * co-ordinate value, can be applied
14 * more number of times for better results.
Rachna Patil1b8be322012-03-04 08:11:57 -080015 */
16
17struct tsc_data {
18 int wires;
19 int x_plate_resistance;
Patil, Rachnad1fb5742012-10-16 12:55:39 +053020 int steps_to_configure;
Rachna Patil1b8be322012-03-04 08:11:57 -080021};
22
23#endif