summaryrefslogtreecommitdiff
path: root/drivers/mxc/pmic/mc13783/pmic_adc_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/pmic/mc13783/pmic_adc_defs.h')
-rw-r--r--drivers/mxc/pmic/mc13783/pmic_adc_defs.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/drivers/mxc/pmic/mc13783/pmic_adc_defs.h b/drivers/mxc/pmic/mc13783/pmic_adc_defs.h
index 5278814d9c0a..eca1c8b59448 100644
--- a/drivers/mxc/pmic/mc13783/pmic_adc_defs.h
+++ b/drivers/mxc/pmic/mc13783/pmic_adc_defs.h
@@ -30,24 +30,14 @@
#define MAX_CHANNEL 7
-/*
- * Maximun allowed variation in the three X/Y co-ordinates acquired from
- * touch-screen
- */
-#define DELTA_Y_MAX 50
-#define DELTA_X_MAX 50
-
/* Upon clearing the filter, this is the delay in restarting the filter */
-#define FILTER_MIN_DELAY 4
-
-/* Length of X and Y Touch screen filters */
-#define FILTLEN 3
+#define FILTER_MIN_DELAY 2
-#define TS_X_MAX 1000
-#define TS_Y_MAX 1000
+#define TS_X_MAX 1024
+#define TS_Y_MAX 1024
-#define TS_X_MIN 80
-#define TS_Y_MIN 80
+#define TS_X_MIN 2
+#define TS_Y_MIN 2
#define MC13783_ADC0_TS_M_LSH 14
#define MC13783_ADC0_TS_M_WID 3