From 341eb9e936e686e0f69630a004cc7dc158aa530f Mon Sep 17 00:00:00 2001 From: Daniel Schaeffer Date: Tue, 16 Sep 2008 11:28:12 -0400 Subject: Changed touchscreen parameters to fix the right side touchscreen input. Signed-off-by: Justin Waters Acked-by: Daniel Schaeffer --- drivers/mxc/pmic/mc13783/pmic_adc_defs.h | 8 ++++---- include/asm-arm/arch-mxc/pmic_adc.h | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/mxc/pmic/mc13783/pmic_adc_defs.h b/drivers/mxc/pmic/mc13783/pmic_adc_defs.h index db1b08232c77..51ab7bb0e3a4 100644 --- a/drivers/mxc/pmic/mc13783/pmic_adc_defs.h +++ b/drivers/mxc/pmic/mc13783/pmic_adc_defs.h @@ -43,11 +43,11 @@ /* Length of X and Y Touch screen filters */ #define FILTLEN 3 -#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 diff --git a/include/asm-arm/arch-mxc/pmic_adc.h b/include/asm-arm/arch-mxc/pmic_adc.h index 832cfe351403..141c44086051 100644 --- a/include/asm-arm/arch-mxc/pmic_adc.h +++ b/include/asm-arm/arch-mxc/pmic_adc.h @@ -100,16 +100,6 @@ */ #define TOUCH_SCREEN_READ_UNINSTALL _IOWR('D',5, int) -/*! @{ */ -/*! - * @name Touch Screen minimum and maximum values - */ -#define TS_X_MIN 80 /*! < Minimum X */ -#define TS_Y_MIN 80 /*! < Minimum Y */ - -#define TS_X_MAX 1000 /*! < Maximum X */ -#define TS_Y_MAX 1000 /*! < Maximum Y */ -/*! @} */ /*! * This enumeration defines input channels for PMIC ADC */ -- cgit v1.2.3