Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8930658imu; Tue, 4 Dec 2018 17:16:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/VWY7mK4ZSkksn0B93utxAYO+RiTqaa0vZ3K3+eS2wUl5zUpaiPKcKh1Z7NmQEAtnFuHL3/ X-Received: by 2002:a63:30c8:: with SMTP id w191mr19221350pgw.120.1543972609692; Tue, 04 Dec 2018 17:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543972609; cv=none; d=google.com; s=arc-20160816; b=q8VeSQGU++i35hDRDmId26GPkhr/H8jenzdXV9IZSKXHFKcjApiFfXK2BU/Cup7YXo p06oDaJ+M921s+TEdJrZGC/w0VwbcHzaQ+hdLbBATxDE3wRJfL6rmyuFU3XX4J7gDZXd 5+VROmeDudOdYhuUXSLPGR4pHuKu+SUtthFd7OYaG5lrFL3d3lffWi3pOQiAWFG+jhGZ 4uXEnxFbee5vRuvKPCndLCVW1dAisDZkwJ/ihj5O7/YJA4OKgwahYD1zdQ7OZjyazDH5 rCJPydh1SvEqtRDEItSj+oTcHP+9iYPgWoHgHsJbRIIHAAtY5wiVjbZfnzj0pAVc53AE FmUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=S4XOjFifUY2xrguCmulcNei47uIRvW7WFcKGuytwRQ4=; b=sAebyr+6N/zVhG55MnHXv3owjgV+Kk55cHc/+uHQxGcR914IcSniN52M63OrH9Qry5 wzJcPrG7QNoRR0x8FFbJJI4H7sYdmGG3PvZ+Up1u9TiimbzpRhxeuq84RROBqkiXCySE TEMAprHVmjZwpPXUBxBX7tYFiFMd8RPU/c5fmEp14qSPZG+qbmpjWoPOUd1YFPefgB10 5qKHc1Ifh7PGVHD4G1Z9D+NVLSlvfWNF5e/765SLwiDGDtQm/TvLdl90vA/LdroOlHTt 1T15+OGUVpC9Trq/9FXjzmK5iDul/6IUeRDv7p9ca3KYvqr4uCaX6CpqMm35NBuxbtMK Zzkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=rBMILYMz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si17079322pgg.204.2018.12.04.17.16.34; Tue, 04 Dec 2018 17:16:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=rBMILYMz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726726AbeLEBO3 (ORCPT + 99 others); Tue, 4 Dec 2018 20:14:29 -0500 Received: from mail-eopbgr30061.outbound.protection.outlook.com ([40.107.3.61]:36000 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726031AbeLEBO3 (ORCPT ); Tue, 4 Dec 2018 20:14:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S4XOjFifUY2xrguCmulcNei47uIRvW7WFcKGuytwRQ4=; b=rBMILYMz1mzZWpVuW1Ss4tqqu2c2ldx+aSNmI+OfiGTxIylpf1nFf7Zef1ZfPOJ5h3Gtd72b4cBdRfUNQilfU1yRfCtMlicPc9cd1IiZfbi6tLJHnE+1w3P0pinJYWaVvlYXuBTFaKI/LwtjPQnqrbYJRZY3A4bdZu136wOKs6M= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3785.eurprd04.prod.outlook.com (52.134.71.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.17; Wed, 5 Dec 2018 01:14:25 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd%3]) with mapi id 15.20.1382.023; Wed, 5 Dec 2018 01:14:25 +0000 From: Anson Huang 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 Subject: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus Thread-Topic: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus Thread-Index: AQHUjDfcag5OHPiJuEKRmx7mg1SAuA== Date: Wed, 5 Dec 2018 01:14:25 +0000 Message-ID: <1543972116-22505-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0062.apcprd03.prod.outlook.com (2603:1096:203:52::26) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB3PR0402MB3785;6:YoAJsspGk84aDFCjGVRUEwF6AXCA3TIJJL7jwpBoPC6s8kc7/ZRT1UYS0MKCc6o0Vqz9JWEvn8jBUWzxHMpYtwraukiV3aqETcV1y0/xW7uVMBQ/kR3AWvrBTj8Ziiu7HqlYKdIw/p2yDo7bzF51ksf7g2wCnfFgBVsKYNQ0ncUS8JTx6h/2m2JfNP3/NCcfHDtKrkKvr7NRK4K3cjkcpa8KlQbLHmbsKGEX8Xm0/jH5OrbWTtgXOzuMeZRMlS6F1jutrL/RiWAXGK8b0bbjJYVYIrpUd6u+rxiSyPHwD4cxShefkf1d60cvB7IwfzcwtXN8YMLI+7WUlnhqu0x2ENrrSD/+3G4Pritf2FPqGgSfjO5Vxm69ZLAzD81e/vw8aVBvoOl2za60XgqSIuA3iere7mN/aRlXV2t0mo18axY/CUFBRoakFi/exISO0n3QgrfEDyF6kzgclBAwrUoB4A==;5:vk8YpElN9TN9zLJ37LDU/zENhdfkzKewoLNBvMtnYaixFHdKbimFBwfnoJ5VsfPEU9et/5hPTPJWQ8Nz6xkMvTJMdq3lXRKbFjNlcIvnbx9NeXrInytBLMWp+zM4gt6kLUPyHrBEct4jjfqorB4YthbZWuoipAkUC3o0d0Z3iBE=;7:2ur1wx64tY56+Jw+/xr8M734LpLiOSshxvwjEZOH4UTV4MeMbyz4T6LiKmBT41r0eNGZzcP8rnC8e1silJdmYeO6BjkI5dexY4xUAX1HNOBqV52fEHwv9vnLpR9jABTvxJQiiURXbLjtYDSA0k4GLQ== x-ms-office365-filtering-correlation-id: 0eefcf5a-7201-463b-bcb3-08d65a4efebd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3785; x-ms-traffictypediagnostic: DB3PR0402MB3785: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231455)(999002)(944501517)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3785;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3785; x-forefront-prvs: 08770259B4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(366004)(346002)(39860400002)(396003)(189003)(199004)(5660300001)(36756003)(105586002)(186003)(486006)(6486002)(66066001)(106356001)(99286004)(53936002)(386003)(6506007)(26005)(68736007)(110136005)(7736002)(52116002)(6512007)(305945005)(97736004)(3846002)(6116002)(2501003)(86362001)(102836004)(2201001)(575784001)(316002)(478600001)(71200400001)(71190400001)(256004)(2906002)(6436002)(476003)(2616005)(81166006)(81156014)(8676002)(4326008)(25786009)(8936002)(14454004)(50226002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3785;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6OX/tOqoKgiTbFPbcix7qOef0R7Kea3ptbNoxmXftxK6jkywkoKI1/ZzqwRH2OU5EAFEPDJj34J7sbGWfrO6jRzFVpBR+5Q+kdBIHvJygfJFfQZ/ktp/OR3dYXAeThzjj2sXtcgIYv3SAwF9Gc71dEgNQJYscq6cF0QALym52Zwke4YoaRox1O7HG9YkK4gNjdowNflXV0+rOHFF0PdN1hSF+xGermAooyihk8O2iFw49UYyj5FvwO1MDNsDewhVRYVoaaNlkGu1m7F03OKufZCOKdq/NMt0D0jT7Igb7AVqajH/lKkGOs2gJ9+pm6dq4Xffhv39QAoFNZei7O/KqVqFJVDiRBr16XFUIHhM2GY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0eefcf5a-7201-463b-bcb3-08d65a4efebd X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2018 01:14:25.4085 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3785 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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