Thread (1 message) 1 message, 1 author, 2015-11-24
DORMANTno replies

[PATCH 09/14] ARM: am437x: cm-t43: dts: add touchscreen support

From: Nikita Kiryanov <hidden>
Date: 2015-11-24 13:19:10
Also in: linux-devicetree, linux-omap
Subsystem: the rest · Maintainer: Linus Torvalds

AM437x has an internal touchscreen controller. Add support for it
on cm-t43.

Signed-off-by: Nikita Kiryanov <redacted>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Igor Grinberg <redacted>
Cc: Dmitry Lifshitz <redacted>
Cc: Ian Campbell <redacted>
---
 arch/arm/boot/dts/am437x-cm-t43.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/am437x-cm-t43.dts b/arch/arm/boot/dts/am437x-cm-t43.dts
index 5ca4160..1842087 100644
--- a/arch/arm/boot/dts/am437x-cm-t43.dts
+++ b/arch/arm/boot/dts/am437x-cm-t43.dts
@@ -399,6 +399,20 @@
 	status = "okay";
 };
 
+&tscadc {
+	status = "okay";
+	tsc {
+		ti,wires = <4>;
+		ti,x-plate-resistance = <200>;
+		ti,coordiante-readouts = <5>;
+		ti,wire-config = <0x00 0x11 0x22 0x33>;
+	};
+
+	adc {
+		ti,adc-channels = <4 5 6 7>;
+	};
+};
+
 &cpu {
 	cpu0-supply = <&dcdc2>;
 	operating-points = <1000000 1330000>,
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help