From: Uri Mashiach Date: Wed, 30 Dec 2015 11:41:34 +0000 (+0200) Subject: ARM: dts: cm-t335: add touchscreen support X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=511fc6d85b6bc6c28b830d082ebeeb5dcea4563b;p=deliverable%2Flinux.git ARM: dts: cm-t335: add touchscreen support Touchscreen and analog digital converter configurations. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg Signed-off-by: Tony Lindgren --- 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>; + }; +}; +