Patil, Rachna | 55c04de | 2012-10-16 12:55:42 +0530 | [diff] [blame^] | 1 | #ifndef __LINUX_TI_AM335X_TSC_H |
| 2 | #define __LINUX_TI_AM335X_TSC_H |
Rachna Patil | 1b8be32 | 2012-03-04 08:11:57 -0800 | [diff] [blame] | 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. |
Patil, Rachna | d1fb574 | 2012-10-16 12:55:39 +0530 | [diff] [blame] | 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. |
Rachna Patil | 1b8be32 | 2012-03-04 08:11:57 -0800 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | struct tsc_data { |
| 18 | int wires; |
| 19 | int x_plate_resistance; |
Patil, Rachna | d1fb574 | 2012-10-16 12:55:39 +0530 | [diff] [blame] | 20 | int steps_to_configure; |
Rachna Patil | 1b8be32 | 2012-03-04 08:11:57 -0800 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | #endif |