]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6dql-nitrogen6x: add touchscreen support
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 30 Sep 2015 13:46:38 +0000 (15:46 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Oct 2015 14:45:20 +0000 (22:45 +0800)
This patch adds the different touchscreens that can be connected using
the displays available for this board.
http://boundarydevices.com/product-category/displays/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi

index 7212f90eea83bb263af14f96aee070ced0306b12..27b0f6da7096537c1ad3b77507949330bfb2f6c7 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c3>;
        status = "okay";
+
+       touchscreen@04 {
+               compatible = "eeti,egalax_ts";
+               reg = <0x04>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+               wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+       };
+
+       touchscreen@38 {
+               compatible = "edt,edt-ft5x06";
+               reg = <0x38>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+       };
 };
 
 &iomuxc {
                        fsl,pins = <
                                /* SGTL5000 sys_mclk */
                                MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x030b0
+                               MX6QDL_PAD_GPIO_9__GPIO1_IO09   0x1b0b0
                        >;
                };