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

Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il>
Cc: Tony Lindgren <t...@atomide.com>
Cc: Igor Grinberg <grinb...@compulab.co.il>
Cc: Dmitry Lifshitz <lifsh...@compulab.co.il>
Cc: Ian Campbell <ijc+devicet...@hellion.org.uk>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to