diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2014-06-24 18:43:55 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:16 +0900 |
commit | 7e57c0619d1f2a6ce6e50b75899f84cf2c69ab0e (patch) | |
tree | d32f4fe178330007dded81a357bcfbf3b288da6c /include/linux | |
parent | ed02d6b42f26ef44545f6d6aa41a1c5bdaa8efca (diff) | |
download | linux-3.10-7e57c0619d1f2a6ce6e50b75899f84cf2c69ab0e.tar.gz linux-3.10-7e57c0619d1f2a6ce6e50b75899f84cf2c69ab0e.tar.bz2 linux-3.10-7e57c0619d1f2a6ce6e50b75899f84cf2c69ab0e.zip |
input: touchscreen: add mms128 touchscreen controller driver.
This patch add melfas mms128 touchscreen controller driver.
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'include/linux')
-rwxr-xr-x | include/linux/platform_data/mms128.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/linux/platform_data/mms128.h b/include/linux/platform_data/mms128.h new file mode 100755 index 00000000000..db677b87b90 --- /dev/null +++ b/include/linux/platform_data/mms128.h @@ -0,0 +1,42 @@ +/* + * mms_ts.h - Platform data for Melfas MMS-series touch driver + * + * Copyright (C) 2011 Google Inc. + * Author: Dima Zavin <dima@android.com> + * + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + */ + +#ifndef _LINUX_MMS_TOUCH_H +#define _LINUX_MMS_TOUCH_H +#define MELFAS_TS_NAME "mms128" + +struct melfas_tsi_platform_data { + int max_x; + int max_y; + + int invert_x; + int invert_y; + + int gpio_int; + int gpio_sda; + int gpio_scl; + int (*mux_fw_flash)(bool to_gpios); + const char *tsp_vendor; + const char *tsp_ic; + int tsp_tx; + int tsp_rx; + int fw_bin_ver[3]; + const char *config_fw_version; + void (*input_event)(void *data); + void (*register_cb)(void *); +}; +extern struct class *sec_class; +void tsp_charger_infom(bool en); + +#endif /* _LINUX_MMS_TOUCH_H */ |