summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2015-02-03 11:46:36 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-03 11:50:39 -0800
commite6e4a0d1981febe1188f997e1b4fae0bb40a6e8c (patch)
tree4db92dfe867f734a157d0a5d00748ec89328665e
parentbf223612a4cd65d5eb15d6adc8422c7d61ae75dd (diff)
downloadblackbird-obmc-linux-e6e4a0d1981febe1188f997e1b4fae0bb40a6e8c.tar.gz
blackbird-obmc-linux-e6e4a0d1981febe1188f997e1b4fae0bb40a6e8c.zip
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 <vigneshr@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts1
1 files changed, 1 insertions, 0 deletions
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 {
OpenPOWER on IntegriCloud