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)
commitbf223612a4cd65d5eb15d6adc8422c7d61ae75dd
treef4c31201c77ba2e66cd78495ec3aa1efc630df53
parent344d635b9a41b19837ccf8083a99ea688027019c
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