diff options
-rw-r--r-- | drivers/mxc/pmic/mc13783/pmic_adc_defs.h | 8 | ||||
-rw-r--r-- | 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 */ |