Commit e6e4a0d1 authored by Vignesh R's avatar Vignesh R Committed by Dmitry Torokhov

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: default avatarVignesh R <vigneshr@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent bf223612
...@@ -648,6 +648,7 @@ tsc { ...@@ -648,6 +648,7 @@ tsc {
ti,x-plate-resistance = <200>; ti,x-plate-resistance = <200>;
ti,coordinate-readouts = <5>; ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>; ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0x400>;
}; };
adc { adc {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment