Revert "[ARM]: tegra: Various tuning for touchpanel in stingray board file"
authorRebecca Schultz Zavin <rebecca@android.com>
Tue, 31 Aug 2010 17:35:07 +0000 (10:35 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:50:35 +0000 (16:50 -0700)
This reverts commit dc1c98e105e7cba173ee674e3c8f47f0c453a4fd.

arch/arm/mach-tegra/board-stingray-touch.c

index 79b8707160ed7774a50b883a95aa28ebb920a03e..49dec9f033acb8dfe1654da2594fadbeec806ffd 100644 (file)
@@ -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 = {