aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/midas-tsp.h
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /arch/arm/mach-exynos/include/mach/midas-tsp.h
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
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);