diff options
Diffstat (limited to 'include/linux/input/ti_am335x_tsc.h')
-rw-r--r-- | include/linux/input/ti_am335x_tsc.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/linux/input/ti_am335x_tsc.h b/include/linux/input/ti_am335x_tsc.h deleted file mode 100644 index 6a66b4d1ac2c..000000000000 --- a/include/linux/input/ti_am335x_tsc.h +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | #ifndef __LINUX_TI_AM335X_TSC_H | ||
2 | #define __LINUX_TI_AM335X_TSC_H | ||
3 | |||
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. | ||
10 | * @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. | ||
15 | * @wire_config: Different EVM's could have a different order | ||
16 | * for connecting wires on touchscreen. | ||
17 | * We need to provide an 8 bit number where in | ||
18 | * the 1st four bits represent the analog lines | ||
19 | * and the next 4 bits represent positive/ | ||
20 | * negative terminal on that input line. | ||
21 | * Notations to represent the input lines and | ||
22 | * terminals resoectively is as follows: | ||
23 | * AIN0 = 0, AIN1 = 1 and so on till AIN7 = 7. | ||
24 | * XP = 0, XN = 1, YP = 2, YN = 3. | ||
25 | * | ||
26 | */ | ||
27 | |||
28 | struct tsc_data { | ||
29 | int wires; | ||
30 | int x_plate_resistance; | ||
31 | int steps_to_configure; | ||
32 | int wire_config[10]; | ||
33 | }; | ||
34 | |||
35 | #endif | ||