[ARM]: tegra: Enable noise suppression for touch in stingray board file
authormakarand.karvekar <makarand.karvekar@motorola.com>
Mon, 13 Sep 2010 20:22:01 +0000 (15:22 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:29 +0000 (16:51 -0700)
Firmware settings for noise suppression object.

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

index 5a60f365168e0d86ee47509acd106b7ae04ee54d..e1a0394e4694aa3afbe3c05bcee8ef313b274e2f 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            = 0x6462cb,
+       .nv_checksum            = 0x99469a,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -318,7 +318,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .command        = 0,
        },
        .noise_suppression_cfg = {
-               .ctrl                   = 0,
+               .ctrl                   = 5,
                .reserve1               = 0,
                .reserve2               = 0,
                .reserve3               = 0,
@@ -326,14 +326,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .reserve5               = 0,
                .reserve6               = 0,
                .reserve7               = 0,
-               .noise_thres            = 0,
+               .noise_thres            = 20,
                .reserve9               = 0,
                .freq_hop_scale         = 0,
-               .burst_freq_0           = 0,
-               .burst_freq_1           = 0,
-               .burst_freq_2           = 0,
-               .burst_freq_3           = 0,
-               .burst_freq_4           = 0,
+               .burst_freq_0           = 10,
+               .burst_freq_1           = 15,
+               .burst_freq_2           = 19,
+               .burst_freq_3           = 25,
+               .burst_freq_4           = 30,
                .reserve16              = 0,
        },
        .one_touch_gesture_proc_cfg = {
@@ -422,7 +422,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0x6462cb,
+       .nv_checksum            = 0x99469a,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -499,7 +499,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = {
                .command        = 0,
        },
        .noise_suppression_cfg = {
-               .ctrl                   = 0,
+               .ctrl                   = 5,
                .reserve1               = 0,
                .reserve2               = 0,
                .reserve3               = 0,
@@ -507,14 +507,14 @@ struct qtouch_ts_platform_data stingray_touch_data_p1p2 = {
                .reserve5               = 0,
                .reserve6               = 0,
                .reserve7               = 0,
-               .noise_thres            = 0,
+               .noise_thres            = 20,
                .reserve9               = 0,
                .freq_hop_scale         = 0,
-               .burst_freq_0           = 0,
-               .burst_freq_1           = 0,
-               .burst_freq_2           = 0,
-               .burst_freq_3           = 0,
-               .burst_freq_4           = 0,
+               .burst_freq_0           = 10,
+               .burst_freq_1           = 15,
+               .burst_freq_2           = 19,
+               .burst_freq_3           = 25,
+               .burst_freq_4           = 30,
                .reserve16              = 0,
        },
        .one_touch_gesture_proc_cfg = {