summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorPedro Perez de Heredia <pedro.perez@digi.com>2010-04-06 01:29:43 +0200
committerPedro Perez de Heredia <pedro.perez@digi.com>2010-04-06 01:29:43 +0200
commit58802bd38d445cfa9b96cb2abfd75a1817be414c (patch)
tree5b65ae6055c0e5e7f8e2c7332037622fae9dee68 /drivers/input
parent16c9bc44ed799347156498f66318a7fce77e1c8f (diff)
pmic_adc: add Kconfig configuration entries for max X/Y delta
This commit adds 2 configuration entries to configure the maximum allowed Delta between 3 consecutive samples, to control the driver jitter. Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 8046d3402298..3e15d3c876ee 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -237,6 +237,24 @@ config TOUCHSCREEN_MXC
To compile this driver as a module, choose M here: the
module will be called mxc_ts.
+config TOUCH_MXC_DELTA_X
+ int "Maximum Delta between 3 consecutive samples for the X axis"
+ depends on TOUCHSCREEN_MXC
+ default "10"
+ help
+ Maximum allowed Delta between 3 consecutive samples (that will be
+ averaged) for the X axis.
+ Small values reduce the jitter, slowing down the driver responsiveness.
+
+config TOUCH_MXC_DELTA_Y
+ int "Maximum Delta between 3 consecutive samples for the Y axis"
+ depends on TOUCHSCREEN_MXC
+ default "10"
+ help
+ Maximum allowed Delta between 3 consecutive samples (that will be
+ averaged) for the Y axis.
+ Small values reduce the jitter, slowing down the driver responsiveness.
+
config TOUCHSCREEN_IMX_ADC
tristate "Freescale i.MX ADC touchscreen input driver"
depends on IMX_ADC