From 865d1a86642798136b05b0c9135b2ca8b03600b2 Mon Sep 17 00:00:00 2001 From: Rebecca Schultz Zavin Date: Tue, 31 Aug 2010 10:35:07 -0700 Subject: [PATCH] Revert "[ARM]: tegra: Various tuning for touchpanel in stingray board file" This reverts commit dc1c98e105e7cba173ee674e3c8f47f0c453a4fd. --- arch/arm/mach-tegra/board-stingray-touch.c | 76 +++++++++++----------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index 79b8707160ed..49dec9f033ac 100644 --- a/arch/arm/mach-tegra/board-stingray-touch.c +++ b/arch/arm/mach-tegra/board-stingray-touch.c @@ -239,7 +239,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x8eaabd, + .nv_checksum = 0x6462cb, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -261,9 +261,9 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .base_fw_version = 0x00, }, .power_cfg = { - .idle_acq_int = 0x0a, - .active_acq_int = 0x0a, - .active_idle_to = 0x19, + .idle_acq_int = 0xff, + .active_acq_int = 0xff, + .active_idle_to = 0x00, }, .acquire_cfg = { .charge_time = 0x0A, @@ -284,14 +284,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .x_size = 0x21, .y_size = 0x2a, .aks_cfg = 0, - .burst_len = 0x20, - .tch_det_thr = 0x23, - .tch_det_int = 0x2, + .burst_len = 0x10, + .tch_det_thr = 45, + .tch_det_int = 0x3, .orient = 1, .mrg_to = 0x00, - .mov_hyst_init = 0x32, - .mov_hyst_next = 0x14, - .mov_filter = 0x1, + .mov_hyst_init = 0x05, + .mov_hyst_next = 0x02, + .mov_filter = 0x20, .num_touch = 0x05, .merge_hyst = 0x0A, .merge_thresh = 0x0A, @@ -316,7 +316,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .command = 0, }, .noise_suppression_cfg = { - .ctrl = 5, + .ctrl = 0, .reserve1 = 0, .reserve2 = 0, .reserve3 = 0, @@ -324,14 +324,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .reserve5 = 0, .reserve6 = 0, .reserve7 = 0, - .noise_thres = 20, + .noise_thres = 0, .reserve9 = 0, .freq_hop_scale = 0, - .burst_freq_0 = 10, - .burst_freq_1 = 15, - .burst_freq_2 = 19, - .burst_freq_3 = 25, - .burst_freq_4 = 30, + .burst_freq_0 = 0, + .burst_freq_1 = 0, + .burst_freq_2 = 0, + .burst_freq_3 = 0, + .burst_freq_4 = 0, .reserve16 = 0, }, .one_touch_gesture_proc_cfg = { @@ -372,8 +372,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .ctrl = 0, .command = 0, .reserve2 = 0, - .idle_gcaf_depth = 20, - .active_gcaf_depth = 20, + .idle_gcaf_depth = 16, + .active_gcaf_depth = 16, .voltage = 60, }, .gripsuppression_t40_cfg = { @@ -420,7 +420,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x8eaabd, + .nv_checksum = 0x6462cb, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -442,9 +442,9 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .base_fw_version = 0x00, }, .power_cfg = { - .idle_acq_int = 0x0a, - .active_acq_int = 0x0a, - .active_idle_to = 0x19, + .idle_acq_int = 0xff, + .active_acq_int = 0xff, + .active_idle_to = 0x00, }, .acquire_cfg = { .charge_time = 0x0A, @@ -465,14 +465,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .x_size = 0x21, .y_size = 0x2a, .aks_cfg = 0, - .burst_len = 0x20, - .tch_det_thr = 0x23, - .tch_det_int = 0x2, + .burst_len = 0x10, + .tch_det_thr = 45, + .tch_det_int = 0x3, .orient = 1, .mrg_to = 0x00, - .mov_hyst_init = 0x32, - .mov_hyst_next = 0x14, - .mov_filter = 0x1, + .mov_hyst_init = 0x05, + .mov_hyst_next = 0x02, + .mov_filter = 0x20, .num_touch = 0x05, .merge_hyst = 0x0A, .merge_thresh = 0x0A, @@ -497,7 +497,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .command = 0, }, .noise_suppression_cfg = { - .ctrl = 5, + .ctrl = 0, .reserve1 = 0, .reserve2 = 0, .reserve3 = 0, @@ -505,14 +505,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .reserve5 = 0, .reserve6 = 0, .reserve7 = 0, - .noise_thres = 20, + .noise_thres = 0, .reserve9 = 0, .freq_hop_scale = 0, - .burst_freq_0 = 10, - .burst_freq_1 = 15, - .burst_freq_2 = 19, - .burst_freq_3 = 25, - .burst_freq_4 = 30, + .burst_freq_0 = 0, + .burst_freq_1 = 0, + .burst_freq_2 = 0, + .burst_freq_3 = 0, + .burst_freq_4 = 0, .reserve16 = 0, }, .one_touch_gesture_proc_cfg = { @@ -553,8 +553,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = { .ctrl = 0, .command = 0, .reserve2 = 0, - .idle_gcaf_depth = 20, - .active_gcaf_depth = 20, + .idle_gcaf_depth = 16, + .active_gcaf_depth = 16, .voltage = 60, }, .gripsuppression_t40_cfg = { -- 2.34.1