From: Vignesh R Date: Tue, 3 Feb 2015 19:46:36 +0000 (-0800) Subject: ARM: dts: AM335x: Make charge delay a DT parameter for TSC X-Git-Tag: v4.0-rc1~13^2~1^2~6 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e6e4a0d1981febe1188f997e1b4fae0bb40a6e8c;p=uclinux-h8%2Flinux.git ARM: dts: AM335x: Make charge delay a DT parameter for TSC The charge delay value is by default 0x400. But it can be set to lower values on some boards, as long as false pen-ups are avoided. Lowering the value increases the sampling rate (though current sampling rate is sufficient for TSC operation). In some boards, the value has to be increased to avoid false pen-up events. Hence, charge delay has been made a DT parameter. Signed-off-by: Vignesh R Acked-by: Tony Lindgren Signed-off-by: Dmitry Torokhov --- diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 54f118c08db8..66342515df20 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -648,6 +648,7 @@ ti,x-plate-resistance = <200>; ti,coordinate-readouts = <5>; ti,wire-config = <0x00 0x11 0x22 0x33>; + ti,charge-delay = <0x400>; }; adc {