5 //#define SCREEN_MAX_X 1366
6 //#define SCREEN_MAX_Y 768
8 static int revert_xy = 0;
9 static int revert_x = 0;
10 static int revert_y = 0;
20 #define GSL_NOID_VERSION
21 #ifdef GSL_NOID_VERSION
29 extern unsigned int gsl_mask_tiaoping(void);
30 extern unsigned int gsl_version_id(void);
31 extern void gsl_alg_id_main(struct gsl_touch_info *cinfo);
32 extern void gsl_DataInit(int *ret);
33 static unsigned int gsl_config_data_id[] =
40 0,0,0,0,0,0,0,0xd4bc5deb,
43 0x109,0x5,0x14000f,0x14000f,0x8000600,0,0x5100,0x8e00,
44 0,0x320014,0,0,0,0,0,0,
45 0x8,0x4000,0x1000,0x102a0002,0x10220003,0,0,0,
46 0x1b6db688,0x240,0,0,0,0,0,0,
48 0,0,0x804000,0x90040,0x90001,0,0,0,
49 0,0,0,0x14012c,0xa003c,0xa0078,0x400,0x1081,
55 0x3200384,0x64,0x503e8,//0
85 0x10203,0x4050607,0x8090a0b,0xc0d0e0f,0x10111213,0x14151617,0x18191a1b,0x1c1d1e1f,
86 0x20212223,0x24252627,0x28292a2b,0x2c2d2e2f,0x30313233,0x34353637,0x38393a3b,0x3c3d3e3f,
87 0x10203,0x4050607,0x8090a0b,0xc0d0e0f,0x10111213,0x14151617,0x18191a1b,0x1c1d1e1f,
88 0x20212223,0x24252627,0x28292a2b,0x2c2d2e2f,0x30313233,0x34353637,0x38393a3b,0x3c3d3e3f,
90 0x10203,0x4050607,0x8090a0b,0xc0d0e0f,0x10111213,0x14151617,0x18191a1b,0x1c1d1e1f,
91 0x20212223,0x24252627,0x28292a2b,0x2c2d2e2f,0x30313233,0x34353637,0x38393a3b,0x3c3d3e3f,
99 0x10203,0x4050607,0x8090a0b,0xc0d0e0f,0x10111213,0x14151617,0x18191a1b,0x1c1d1e1f,
100 0x20212223,0x24252627,0x28292a2b,0x2c2d2e2f,0x30313233,0x34353637,0x38393a3b,0x3c3d3e3f,
120 0x50003c0,0,0,0,0,0,0,0,
129 static struct fw_data GSLX680_FW[] = {