MLK-23306 ARM64: dts: imx8mp-evk: add synaptic_dsx touch support
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 12 Feb 2020 03:16:38 +0000 (11:16 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:23:21 +0000 (11:23 +0800)
Add the touch support on MIPI_DSI screen.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm64/boot/dts/freescale/imx8mp-evk-rm67191.dts
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index 0836409..bf23e8a 100644 (file)
                status = "okay";
        };
 };
+
+&i2c2 {
+       synaptics_dsx_ts@20 {
+               compatible = "synaptics_dsx";
+               reg = <0x20>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c2_synaptics_dsx_io>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
+               synaptics,diagonal-rotation;
+               status = "okay";
+       };
+};
index 7051c24..7eb1521 100644 (file)
                >;
        };
 
+       pinctrl_i2c2_synaptics_dsx_io: synaptics_dsx_iogrp {
+               fsl,pins = <
+                       MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09             0x16
+               >;
+       };
+
        pinctrl_uart1: uart1grp {
                fsl,pins = <
                        MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX    0x140