diff options
author | Uri Mashiach <uri.mashiach@compulab.co.il> | 2015-12-30 12:41:34 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-01-27 19:32:41 +0100 |
commit | 511fc6d85b6bc6c28b830d082ebeeb5dcea4563b (patch) | |
tree | 187501a0c9f453a8c575a04c4fe95b81227c8703 /arch/arm/boot/dts/am335x-cm-t335.dts | |
parent | ARM: dts: cm-t335: Add support for CAN bus (diff) | |
download | linux-511fc6d85b6bc6c28b830d082ebeeb5dcea4563b.tar.xz linux-511fc6d85b6bc6c28b830d082ebeeb5dcea4563b.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/am335x-cm-t335.dts')
-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>; + }; +}; + |