ARM: dts: AM335x: Make charge delay a DT parameter for TSC
authorVignesh R <vigneshr@ti.com>
Tue, 3 Feb 2015 19:46:36 +0000 (11:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 3 Feb 2015 19:50:39 +0000 (11:50 -0800)
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 <vigneshr@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
arch/arm/boot/dts/am335x-evm.dts

index 54f118c..6634251 100644 (file)
                ti,x-plate-resistance = <200>;
                ti,coordinate-readouts = <5>;
                ti,wire-config = <0x00 0x11 0x22 0x33>;
+               ti,charge-delay = <0x400>;
        };
 
        adc {