From e6c0059b6f7f70ed2e2143d51588f2a81008308d Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Mon, 13 Sep 2010 15:22:01 -0500 Subject: [PATCH] [ARM]: tegra: Enable noise suppression for touch in stingray board file Firmware settings for noise suppression object. Change-Id: I6da91da6b4d17d93cfb5b26f38bae76039a8c8f4 Signed-off-by: makarand.karvekar --- arch/arm/mach-tegra/board-stingray-touch.c | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index 5a60f365168e..e1a0394e4694 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 = 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 = { -- 2.34.1