aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/synaptics_s7301.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/synaptics_s7301.h')
-rw-r--r--include/linux/synaptics_s7301.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/synaptics_s7301.h b/include/linux/synaptics_s7301.h
index 7af78ae..09284a0 100644
--- a/include/linux/synaptics_s7301.h
+++ b/include/linux/synaptics_s7301.h
@@ -37,9 +37,10 @@
#if defined(CONFIG_SEC_TOUCHSCREEN_DVFS_LOCK)
#include <mach/cpufreq.h>
#include <mach/dev.h>
-#define SEC_DVFS_LOCK_TIMEOUT 100
+#define SEC_DVFS_LOCK_TIMEOUT 200
#define SEC_DVFS_LOCK_FREQ 800000
#define SEC_BUS_LOCK_FREQ 267160
+#define SEC_BUS_LOCK_FREQ2 400200
#endif
#define MAX_TOUCH_NUM 10
@@ -163,6 +164,7 @@ struct synaptics_drv_data {
bool dvfs_lock_status;
#endif
bool ready;
+ bool input_open;
bool charger_connection;
bool drawing_mode;
bool suspend;
@@ -175,19 +177,20 @@ struct synaptics_drv_data {
u8 firm_version[4];
u8 firm_config[13];
u8 *cmd_temp;
+ u8 *references;
u8 *tx_to_tx;
u8 *tx_to_gnd;
u16 x_line;
u16 y_line;
u16 refer_max;
u16 refer_min;
- u16 *references;
u16 rx_to_rx[42][42];
unsigned long func_bit[BITS_TO_LONGS(MAX_FUNC+1)];
};
extern struct class *sec_class;
extern int set_tsp_sysfs(struct synaptics_drv_data *data);
+extern void remove_tsp_sysfs(struct synaptics_drv_data *data);
extern int synaptics_fw_updater(struct synaptics_drv_data *data,
u8 *fw_data);
extern void forced_fw_upload(struct synaptics_drv_data *data);