[ARM]: tegra: stingray: enable palm suppression in touch sensor
authormakarand.karvekar <makarand.karvekar@motorola.com>
Fri, 14 Jan 2011 21:01:03 +0000 (15:01 -0600)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 14 Jan 2011 22:47:05 +0000 (14:47 -0800)
firmware: mXT1386_10_FF.bin

Change-Id: I58dbadc633e6ad4bf42ca4a05d0272becdadf38f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-touch.c

index c14a4fbd49d07394b79154ee00fa25fd24312350..232a94f62f3344a3a7e83a34da5fd77e3ee056bb 100644 (file)
@@ -248,7 +248,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0xEB8169,
+       .nv_checksum            = 0x59276b,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -262,11 +262,11 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .num_keys       = 0,
        },
        .touch_fw_cfg = {
-               .fw_name = "mXT1386_10_AA.bin",
+               .fw_name = "mXT1386_10_FF.bin",
                .family_id = 0xA0,
                .variant_id = 0x00,
                .fw_version = 0x10,
-               .fw_build = 0xAA,
+               .fw_build = 0xFF,
                .boot_version = 0x20,
                .base_fw_version = 0x00,
        },
@@ -318,8 +318,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .y_edge_dist    = 0x0A,
                .jump_limit     = 0x20,
                .tch_thres_hyst = 0,
-               .xpitch         = 0,
-               .ypitch         = 0,
+               .xpitch         = 0x2D,
+               .ypitch         = 0x2D,
         },
        .comms_config_cfg = {
                .ctrl           = 0,
@@ -394,12 +394,13 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .yhi_grip               = 0,
        },
        .palm_suppression_cfg = {
-               .ctrl                   = 0,
+               .ctrl                   = 1,
                .small_obj_thr          = 0,
                .sig_spread_thr         = 0,
-               .large_obj_thr          = 0,
-               .distance_thr           = 0,
-               .sup_ext_to             = 0,
+               .large_obj_thr          = 0xD3,
+               .distance_thr           = 0x05,
+               .sup_ext_to             = 0x05,
+               .strength               = 0xDC,
        },
        .spt_digitizer_cfg = {
                .ctrl                   = 0,
@@ -430,7 +431,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0xEB8169,
+       .nv_checksum            = 0x59276b,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -444,11 +445,11 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .num_keys       = 0,
        },
        .touch_fw_cfg = {
-               .fw_name = "mXT1386_10_AA.bin",
+               .fw_name = "mXT1386_10_FF.bin",
                .family_id = 0xA0,
                .variant_id = 0x00,
                .fw_version = 0x10,
-               .fw_build = 0xAA,
+               .fw_build = 0xFF,
                .boot_version = 0x20,
                .base_fw_version = 0x00,
        },
@@ -500,8 +501,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .y_edge_dist    = 0x0A,
                .jump_limit     = 0x20,
                .tch_thres_hyst = 0,
-               .xpitch         = 0,
-               .ypitch         = 0,
+               .xpitch         = 0x2D,
+               .ypitch         = 0x2D,
         },
        .comms_config_cfg = {
                .ctrl           = 0,
@@ -576,12 +577,13 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .yhi_grip               = 0,
                },
        .palm_suppression_cfg = {
-               .ctrl                   = 0,
+               .ctrl                   = 1,
                .small_obj_thr          = 0,
                .sig_spread_thr         = 0,
-               .large_obj_thr          = 0,
-               .distance_thr           = 0,
-               .sup_ext_to             = 0,
+               .large_obj_thr          = 0xD3,
+               .distance_thr           = 0x05,
+               .sup_ext_to             = 0x05,
+               .strength               = 0xDC,
        },
        .spt_digitizer_cfg = {
                .ctrl                   = 0,