aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap/patches-3.12/921-arm-dts-am335x-sk-add-touchscreen-support.patch
blob: 225d272bb7480fab0baf80bb0c108b6261cc006c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 588b7a5db74c02bcf0b3ac57b6391debffbff74c Mon Sep 17 00:00:00 2001
From: Felipe Balbi <balbi@ti.com>
Date: Mon, 21 Oct 2013 15:06:54 -0500
Subject: [PATCH 582/752] arm: dts: am335x sk: add touchscreen support

Add missing nodes for the touchscreen available
on AM335x EVM SK.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -513,6 +513,16 @@
 	vmmc-supply = <&vmmc_reg>;
 };
 
+&tscadc {
+	status = "okay";
+	tsc {
+		ti,wires = <4>;
+		ti,x-plate-resistance = <200>;
+		ti,coordinate-readouts = <5>;
+		ti,wire-config = <0x00 0x11 0x22 0x33>;
+	};
+};
+
 &gpio0 {
 	ti,no-reset-on-init;
 };