X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Finput%2Ftouchscreen%2Fft5x0x_i2c_ts.h;h=d15c8cf908d4251ae1bde4eb18fb055c4a92fb2b;hb=7b2f394bb8ae3881aed47728d8d74a9e094badd8;hp=10eb263cb55d03e4a1f9177610398a5b8c9aa17a;hpb=2176456d276cbed5940d54243bc51c7fb6595709;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/input/touchscreen/ft5x0x_i2c_ts.h b/drivers/input/touchscreen/ft5x0x_i2c_ts.h old mode 100644 new mode 100755 index 10eb263cb55d..d15c8cf908d4 --- a/drivers/input/touchscreen/ft5x0x_i2c_ts.h +++ b/drivers/input/touchscreen/ft5x0x_i2c_ts.h @@ -4,6 +4,8 @@ //#define CONFIG_SUPPORT_FTS_CTP_UPG #define CONFIG_FTS_CUSTOME_ENV +#define FT5X0X_I2C_SPEED 100*1000 + #define CFG_DBG_DUMMY_INFO_SUPPORT 1 //output touch point information #define CFG_DBG_FUCTION_INFO_SUPPORT 0 //output fouction name #define CFG_DBG_INPUT_EVENT 0 //debug input event @@ -13,6 +15,9 @@ #define CFG_NUMOFKEYS 0x4 //number of touch keys #ifdef CONFIG_FTS_CUSTOME_ENV +//µ±ÊÖÖ¸´Ó±ß½ç»®Æðʱ,»á³öÏÖÎÞÏìÓ¦µÄÇé¿ö,Òò´ËÌí¼ÓÒ»¸öºê½«±ß½ç×î´óÖµÏòÍâÀ­Éì +#define SCREEN_BOUNDARY_ADJUST_VALUE 10 + #define SCREEN_MAX_X 1024 #define SCREEN_MAX_Y 600 #else @@ -80,12 +85,6 @@ typedef enum u8 touch_point; }; -struct FTS_TS_DATA_T { - struct input_dev *input_dev; - struct FTS_TS_EVENT_T event; - struct work_struct pen_event_work; - struct workqueue_struct *ts_workqueue; -};