From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anson Huang Subject: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus Date: Wed, 5 Dec 2018 01:14:25 +0000 Message-ID: <1543972116-22505-1-git-send-email-Anson.Huang@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , Fabio Estevam , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: dl-linux-imx List-Id: devicetree@vger.kernel.org Add egalax touch screen support on i2c2 bus, it is connected to LVDS0, while the existing one on i2c3 bus is connected to LVDS1. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx= 6qdl-sabresd.dtsi index 6e46a19..d7389b5 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -272,6 +272,16 @@ pinctrl-0 =3D <&pinctrl_i2c2>; status =3D "okay"; =20 + touchscreen@4 { + compatible =3D "eeti,egalax_ts"; + reg =3D <0x04>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_i2c2_egalax_int>; + interrupt-parent =3D <&gpio6>; + interrupts =3D <8 IRQ_TYPE_EDGE_FALLING>; + wakeup-gpios =3D <&gpio6 8 GPIO_ACTIVE_HIGH>; + }; + ov5640: camera@3c { compatible =3D "ovti,ov5640"; pinctrl-names =3D "default"; @@ -498,6 +508,12 @@ >; }; =20 + pinctrl_i2c2_egalax_int: i2c2egalaxintgrp { + fsl,pins =3D < + MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x1b0b0 + >; + }; + pinctrl_i2c3: i2c3grp { fsl,pins =3D < MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 --=20 2.7.4