aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/midas-tsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/midas-tsp.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/midas-tsp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/midas-tsp.h b/arch/arm/mach-exynos/include/mach/midas-tsp.h
index 4cbee4c..6e71902 100644
--- a/arch/arm/mach-exynos/include/mach/midas-tsp.h
+++ b/arch/arm/mach-exynos/include/mach/midas-tsp.h
@@ -13,6 +13,8 @@
#if defined(CONFIG_TOUCHSCREEN_MELFAS)
#include <linux/platform_data/mms_ts.h>
+#elif defined(CONFIG_TOUCHSCREEN_CYTTSP4)
+#include <linux/platform_data/cypress_cyttsp4.h>
#else
#include <linux/melfas_ts.h>
#endif
@@ -20,7 +22,15 @@
extern int melfas_power(int on);
void melfas_set_touch_i2c(void);
void melfas_set_touch_i2c_to_gpio(void);
+#if defined(CONFIG_TOUCHSCREEN_CYTTSP4)
+int cyttsp4_hw_reset(void);
+int cyttsp4_hw_power(int on);
+int cyttsp4_hw_recov(int on);
+int cyttsp4_irq_stat(void);
+void midas_tsp_set_platdata(struct touch_platform_data *pdata);
+#else
void midas_tsp_set_platdata(struct melfas_tsi_platform_data *pdata);
+#endif
void midas_tsp_init(void);
int is_melfas_vdd_on(void);
int melfas_mux_fw_flash(bool to_gpios);