[ARM]: tegra: stingray: add cap_prox fail-safe thresholds
authormakarand.karvekar <makarand.karvekar@motorola.com>
Fri, 14 Jan 2011 23:06:17 +0000 (17:06 -0600)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 14 Jan 2011 23:25:15 +0000 (15:25 -0800)
Change-Id: Ib4826cebe08882e4bf2aa6238da2abfb0e07597f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-sensors.c

index def9928c7be7b08cd83f1cf38b1986b1312d6bc3..dcc3b8e92e51bf8630cbed6d698326905c9409f1 100755 (executable)
@@ -233,9 +233,13 @@ struct cap_prox_platform_data stingray_cap_prox_pdata = {
        .key1_ref_drift_thres_h         = 30,
        .key3_ref_drift_thres_h         = 30,
        .ref_drift_diff_thres           = 9,
-       .key1_save_drift_thres          = 90,
-       .key3_save_drift_thres          = 110,
-       .save_drift_diff_thres          = 24,
+       .key1_save_drift_thres          = 125,
+       .key3_save_drift_thres          = 165,
+       .save_drift_diff_thres          = 90,
+       .key1_failsafe_thres            = 150,
+       .key3_failsafe_thres            = 65,
+       .key2_signal_thres              = 1700,
+       .key4_signal_thres              = 2200,
        .plat_cap_prox_cfg = {
                .lp_mode                = 0x00,
                .address_ptr            = 0x10,