tegra: general touch tuning in stingray board file
authormakarand.karvekar <makarand.karvekar@motorola.com>
Wed, 20 Oct 2010 15:30:48 +0000 (10:30 -0500)
committerPaul Eastham <eastham@google.com>
Wed, 20 Oct 2010 17:51:18 +0000 (10:51 -0700)
    FW settings for general tuning.
    updated objects:
    T7-POWER CONFIG
    T9-Multitouch Object
    cte_config_cfg
    acquire_cfg

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

index e43a66d9902d68650dc3236e2a88259565cce64f..dedcd55c2609c439326219df5f0c0fee0390ed4d 100644 (file)
@@ -241,7 +241,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0x99469a,
+       .nv_checksum            = 0x15c5a3,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -254,18 +254,18 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .num_keys       = 0,
        },
        .touch_fw_cfg = {
-               .fw_name = "mXT1386_09_AA.bin",
+               .fw_name = "mXT1386_10_AA.bin",
                .family_id = 0xA0,
                .variant_id = 0x00,
-               .fw_version = 0x09,
+               .fw_version = 0x10,
                .fw_build = 0xAA,
                .boot_version = 0x20,
                .base_fw_version = 0x00,
        },
        .power_cfg      = {
-               .idle_acq_int   = 0xff,
-               .active_acq_int = 0xff,
-               .active_idle_to = 0x00,
+               .idle_acq_int   = 0x12,
+               .active_acq_int = 0x12,
+               .active_idle_to = 0x19,
        },
        .acquire_cfg    = {
                .charge_time    = 0x0A,
@@ -277,7 +277,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .atch_cal_suspend_time  = 0,
                .atch_cal_suspend_thres = 0,
                .atch_cal_force_thres = 0x10,
-               .atch_cal_force_ratio = 0,
+               .atch_cal_force_ratio = 0x19,
        },
        .multi_touch_cfg        = {
                .ctrl           = 0x83,
@@ -286,29 +286,29 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .x_size         = 0x21,
                .y_size         = 0x2a,
                .aks_cfg        = 0,
-               .burst_len      = 0x10,
-               .tch_det_thr    = 45,
-               .tch_det_int    = 0x3,
+               .burst_len      = 0x20,
+               .tch_det_thr    = 0x2d,
+               .tch_det_int    = 0x2,
                .orient         = 1,
                .mrg_to         = 0x00,
-               .mov_hyst_init  = 0x05,
-               .mov_hyst_next  = 0x02,
-               .mov_filter     = 0x20,
+               .mov_hyst_init  = 0x32,
+               .mov_hyst_next  = 0x14,
+               .mov_filter     = 0x3D,
                .num_touch      = 0x05,
                .merge_hyst     = 0x0A,
                .merge_thresh   = 0x0A,
                .amp_hyst       = 0x0A,
                .x_res          = 0x0FFF,
                .y_res          = 0x0FFF,
-               .x_low_clip     = 0x00,
-               .x_high_clip    = 0x00,
-               .y_low_clip     = 0x00,
-               .y_high_clip    = 0x00,
-               .x_edge_ctrl    = 0,
-               .x_edge_dist    = 0,
-               .y_edge_ctrl    = 0,
-               .y_edge_dist    = 0,
-               .jump_limit     = 0,
+               .x_low_clip     = 0x06,
+               .x_high_clip    = 0x0A,
+               .y_low_clip     = 0x05,
+               .y_high_clip    = 0xFF,
+               .x_edge_ctrl    = 0x0C,
+               .x_edge_dist    = 0x25,
+               .y_edge_ctrl    = 0x2E,
+               .y_edge_dist    = 0x0A,
+               .jump_limit     = 0x30,
                .tch_thres_hyst = 0x09,
                .xpitch         = 0,
                .ypitch         = 0,
@@ -374,8 +374,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .ctrl                   = 0,
                .command                = 0,
                 .reserve2              = 0,
-               .idle_gcaf_depth        = 16,
-               .active_gcaf_depth      = 16,
+               .idle_gcaf_depth        = 20,
+               .active_gcaf_depth      = 20,
                .voltage                = 60,
        },
        .gripsuppression_t40_cfg = {
@@ -422,7 +422,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0x99469a,
+       .nv_checksum            = 0x15c5a3,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -435,18 +435,18 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .num_keys       = 0,
        },
        .touch_fw_cfg = {
-               .fw_name = "mXT1386_09_AA.bin",
+               .fw_name = "mXT1386_10_AA.bin",
                .family_id = 0xA0,
                .variant_id = 0x00,
-               .fw_version = 0x09,
+               .fw_version = 0x10,
                .fw_build = 0xAA,
                .boot_version = 0x20,
                .base_fw_version = 0x00,
        },
        .power_cfg      = {
-               .idle_acq_int   = 0xff,
-               .active_acq_int = 0xff,
-               .active_idle_to = 0x00,
+               .idle_acq_int   = 0x12,
+               .active_acq_int = 0x12,
+               .active_idle_to = 0x19,
        },
        .acquire_cfg    = {
                .charge_time    = 0x0A,
@@ -458,7 +458,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .atch_cal_suspend_time  = 0,
                .atch_cal_suspend_thres = 0,
                .atch_cal_force_thres = 0x10,
-               .atch_cal_force_ratio = 0,
+               .atch_cal_force_ratio = 0x19,
        },
        .multi_touch_cfg        = {
                .ctrl           = 0x83,
@@ -467,29 +467,29 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .x_size         = 0x21,
                .y_size         = 0x2a,
                .aks_cfg        = 0,
-               .burst_len      = 0x10,
-               .tch_det_thr    = 45,
-               .tch_det_int    = 0x3,
+               .burst_len      = 0x20,
+               .tch_det_thr    = 0x2d,
+               .tch_det_int    = 0x2,
                .orient         = 1,
                .mrg_to         = 0x00,
-               .mov_hyst_init  = 0x05,
-               .mov_hyst_next  = 0x02,
-               .mov_filter     = 0x20,
+               .mov_hyst_init  = 0x32,
+               .mov_hyst_next  = 0x14,
+               .mov_filter     = 0x3D,
                .num_touch      = 0x05,
                .merge_hyst     = 0x0A,
                .merge_thresh   = 0x0A,
                .amp_hyst       = 0x0A,
                .x_res          = 0x0FFF,
                .y_res          = 0x0FFF,
-               .x_low_clip     = 0x00,
-               .x_high_clip    = 0x00,
-               .y_low_clip     = 0x00,
-               .y_high_clip    = 0x00,
-               .x_edge_ctrl    = 0,
-               .x_edge_dist    = 0,
-               .y_edge_ctrl    = 0,
-               .y_edge_dist    = 0,
-               .jump_limit     = 0,
+               .x_low_clip     = 0x06,
+               .x_high_clip    = 0x0A,
+               .y_low_clip     = 0x05,
+               .y_high_clip    = 0xFF,
+               .x_edge_ctrl    = 0x0C,
+               .x_edge_dist    = 0x25,
+               .y_edge_ctrl    = 0x2E,
+               .y_edge_dist    = 0x0A,
+               .jump_limit     = 0x30,
                .tch_thres_hyst = 0x09,
                .xpitch         = 0,
                .ypitch         = 0,
@@ -555,8 +555,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .ctrl                   = 0,
                .command                = 0,
                .reserve2               = 0,
-               .idle_gcaf_depth        = 16,
-               .active_gcaf_depth      = 16,
+               .idle_gcaf_depth        = 20,
+               .active_gcaf_depth      = 20,
                .voltage                = 60,
        },
        .gripsuppression_t40_cfg = {