From b7e24592e304bab7e526e7f17be08c7bd670404c Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Wed, 20 Oct 2010 10:30:48 -0500 Subject: [PATCH] tegra: general touch tuning in stingray board file FW settings for general tuning. updated objects: T7-POWER CONFIG T9-Multitouch Object cte_config_cfg acquire_cfg Signed-off-by: makarand.karvekar --- arch/arm/mach-tegra/board-stingray-touch.c | 96 +++++++++++----------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index e43a66d9902d..dedcd55c2609 100644 --- a/arch/arm/mach-tegra/board-stingray-touch.c +++ b/arch/arm/mach-tegra/board-stingray-touch.c @@ -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 = { -- 2.34.1