diff options
author | Patil, Rachna <rachna@ti.com> | 2012-10-16 11:25:42 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-06 02:50:27 +0400 |
commit | 55c04de5176ea3eac6fdc469a6a063c5cb91ed7c (patch) | |
tree | 62cf144d9429ba60ef02f102b69ffc12ab7801b3 /include/linux/input/ti_am335x_tsc.h | |
parent | c6e86db2bec56e05c7ad1524ed2273a4cc8e8868 (diff) | |
download | linux-55c04de5176ea3eac6fdc469a6a063c5cb91ed7c.tar.xz |
input: TSC: ti_tscadc: Rename the existing touchscreen driver
Make way for addition of MFD driver.
The existing touchsreen driver is a MFD client.
For better readability we rename the file to
indicate its functionality as only touchscreen.
Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/input/ti_am335x_tsc.h')
-rw-r--r-- | include/linux/input/ti_am335x_tsc.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/input/ti_am335x_tsc.h b/include/linux/input/ti_am335x_tsc.h new file mode 100644 index 000000000000..49269a2aa329 --- /dev/null +++ b/include/linux/input/ti_am335x_tsc.h @@ -0,0 +1,23 @@ +#ifndef __LINUX_TI_AM335X_TSC_H +#define __LINUX_TI_AM335X_TSC_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. + * @steps_to_configure: The sequencer supports a total of + * 16 programmable steps. + * A step configured to read a single + * co-ordinate value, can be applied + * more number of times for better results. + */ + +struct tsc_data { + int wires; + int x_plate_resistance; + int steps_to_configure; +}; + +#endif |