]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ti_am335x_tsc - read charge delay from DT
authorVignesh R <vigneshr@ti.com>
Tue, 3 Feb 2015 19:45:34 +0000 (11:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 3 Feb 2015 19:50:38 +0000 (11:50 -0800)
commit4089d3a47c3ba5a8e94e3e46bcabad548a1b0ae4
treef4c31201c77ba2e66cd78495ec3aa1efc630df53
parent751e267b4f234a9dd52a83eeacfc5948348e78cc
Input: ti_am335x_tsc - read charge delay from DT

This patch reads charge delay from tsc DT node and writes to
REG_CHARGEDELAY register. If the charge delay is not specified in DT then
default value of 0x400(CHARGEDLY_OPENDLY) is used.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt
drivers/input/touchscreen/ti_am335x_tsc.c