diff options
author | Uri Mashiach <uri.mashiach@compulab.co.il> | 2015-12-30 14:41:34 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-01-27 21:32:41 +0300 |
commit | 511fc6d85b6bc6c28b830d082ebeeb5dcea4563b (patch) | |
tree | 187501a0c9f453a8c575a04c4fe95b81227c8703 | |
parent | 2ac6e66ed6dbd5bf167d994a78a041ed4c2db654 (diff) | |
download | linux-511fc6d85b6bc6c28b830d082ebeeb5dcea4563b.tar.xz |
ARM: dts: cm-t335: add touchscreen support
Touchscreen and analog digital converter configurations.
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-cm-t335.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts index 93997a2da8c1..f0c880ff33a6 100644 --- a/arch/arm/boot/dts/am335x-cm-t335.dts +++ b/arch/arm/boot/dts/am335x-cm-t335.dts @@ -424,3 +424,20 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&dcan1_pins>; }; + +/* Touschscreen and analog digital converter */ +&tscadc { + status = "okay"; + tsc { + ti,wires = <4>; + ti,x-plate-resistance = <200>; + ti,coordinate-readouts = <5>; + ti,wire-config = <0x01 0x10 0x23 0x32>; + ti,charge-delay = <0x400>; + }; + + adc { + ti,adc-channels = <4 5 6 7>; + }; +}; + |