]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: dts: am57xx-evm: Add touch panel support
authorRoger Quadros <rogerq@ti.com>
Wed, 11 Mar 2015 17:25:15 +0000 (19:25 +0200)
committerSekhar Nori <nsekhar@ti.com>
Thu, 12 Mar 2015 08:04:28 +0000 (13:34 +0530)
The touch panel controller is Pixcir Tango C with
1024x600 resolution.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/am57xx-evm.dts

index 8e1eafda4aa56f2836b3fad875876c52455343e7..728c1f5d4fc004ec48f5a651014a3b9259095913 100644 (file)
                };
        };
 
+       pixcir_ts@5c {
+               compatible = "pixcir,pixcir_tangoc";
+               reg = <0x5c>;
+               interrupt-parent = <&gpio2>;
+               interrupts = <4 0>;
+
+               attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
+               reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+
+               touchscreen-size-x = <1024>;
+               touchscreen-size-y = <600>;
+       };
 };
 
 &dss {