Input: edt-ft5x06 - increase allowed data range for threshold parameter
authorMartin Kepplinger <martin.kepplinger@ginzinger.com>
Tue, 23 May 2017 00:19:45 +0000 (17:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 May 2017 00:22:50 +0000 (17:22 -0700)
commitaa3d4409b664813ceb86a24bd09458cdd29cbb8a
treeceeebedd394f0fcba601861e9307ce5d7e55f338
parent3af9256150b3ecc597c5428711f87ce105d1d58e
Input: edt-ft5x06 - increase allowed data range for threshold parameter

The datasheet and application note does not mention an allowed range for
the M09_REGISTER_THRESHOLD parameter. One of our customers needs to set
lower values than 20 and they seem to work just fine on EDT EP0xx0M09 with
T5x06 touch.

So, lacking a known lower limit, we increase the range for thresholds,
and set the lower limit to 0. The documentation is updated accordingly.

Signed-off-by: Schoefegger Stefan <stefan.schoefegger@ginzinger.com>
Signed-off-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com>
Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
Documentation/input/devices/edt-ft5x06.rst
drivers/input/touchscreen/edt-ft5x06.c