Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3521012imm; Wed, 5 Sep 2018 01:17:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbH01CGEMoclnVgYWiJLXcUye3uEMlWyOpdUETuLULJv0x6yn4ug4EvwV+K3YGHcYSYdH08 X-Received: by 2002:a65:4384:: with SMTP id m4-v6mr20565276pgp.265.1536135473262; Wed, 05 Sep 2018 01:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536135473; cv=none; d=google.com; s=arc-20160816; b=EyfbPKawoUPm66wviU6ik/v7urRY5fg53Ass19vpWrUHBziGGaXvekXFIoUaaT7kTI 5A5Zc6WRYfJ1vssV91TK9aPJ1QmoQih+3FquiZaf3CZlZbVQHMMYjcOmh4ie9r0Pt0NZ RQ5vc4SQs49AwvtJbTTRChnnSFcdnD9kGrIVGNKcqEKPmNUfBRq1llvt5zBFWXojrfGc vGdd5y3HtS9M7oK4aWLROep/8slZ3wZkhBjL3Rsul5ulCMCTeKvVMVo2gNn4wwXYaURb uHfPsi4qeUpEub5jfc1VFavr3fy6wfJWPyai/NFfC5osI1dbrvU7ealksypVqlWPLbOA ZhEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=6r1eoiyM0aRKvd9Oe9D0GLQRln15LYE8a5Ay1+kpo7c=; b=XAVZKNktyE96TomKIenm2vDnVPLnRqtCMozTaE3LWygJQoevuxqvuxISIiNikob9u9 Z6wwvw7g2kmHUIeBbFJmpBGut7S0JmYzkaWbH/UJ0qsq8x9WMqAgTyl+n55MW43kLvcS 2BZzqBrmvkl+BpZnfLuOx5pLehffRbchVYJHC+mSFngqjuPmS+VH/IeuS8OYGTgGwVHo VUnE7XFqnbsru0uFrarRDlLO8rbkXQafG7brZ0SM1D4yE9w0t+/UT06tMda4tGo0kR8w +ckHvQrCtaMxuQf7bfuyQFx+rOXgzQAuV4ZMyicGazC4T9oG6p2KwjAlX8oblgHXAbp2 19lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=c6xNMJhi; 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 d2-v6si1377712pgu.106.2018.09.05.01.17.37; Wed, 05 Sep 2018 01:17:53 -0700 (PDT) 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=c6xNMJhi; 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 S1727882AbeIEMoq (ORCPT + 99 others); Wed, 5 Sep 2018 08:44:46 -0400 Received: from mail-eopbgr40058.outbound.protection.outlook.com ([40.107.4.58]:17478 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726342AbeIEMoq (ORCPT ); Wed, 5 Sep 2018 08:44:46 -0400 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=6r1eoiyM0aRKvd9Oe9D0GLQRln15LYE8a5Ay1+kpo7c=; b=c6xNMJhiStM83zo16P2wEXRDExo0RnUitbketaF9a1+PEdEkC8RaXhoB+o1PWuNkK+gOw+vQ8ZInYCtwcJTtc0B96zH0CQn+D47qHzGieFhAOahJoj8WdpykcHL92XMLfozYtOg/j0ofUvllCy6i2/lZM1NdO+i1DpaKg+nbZa4= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by DB3PR0402MB3913.eurprd04.prod.outlook.com (2603:10a6:8:f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.18; Wed, 5 Sep 2018 08:15:36 +0000 From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] ARM: dts: imx6qdl-sabreauto: add egalax touch screen support Date: Wed, 5 Sep 2018 16:10:29 +0800 Message-Id: <1536135029-22389-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0035.apcprd03.prod.outlook.com (2603:1096:203:2f::23) To DB3PR0402MB3913.eurprd04.prod.outlook.com (2603:10a6:8:f::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 67baaf87-4716-42c9-a6a4-08d61307c448 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3913; X-Microsoft-Exchange-Diagnostics: 1;DB3PR0402MB3913;3:r+Kn0uYeKhmOnTLnUCWHi4sHxB51n/eXALAAMpY7clF/iDFc+oXUlzhJoPbQm5CUkmUmVi3WW1Ro9vJCG+PQ9lbYofD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Uxn1nJxjV8IK5D7dx2gqt//VfConDew5gDQh8T2LRHopvtFFhuXlIZiYUCG7F1fMH3e+twAv4Iq5+jK0z4RE8MuntTjdXtxCfWIQBtafsW9FqMsp+SOScohcgmA/RGA1FsQ+ufRn5g4Z3u8Val7IS/2vkBk0g+F47BOGP9DybELwQZO9ycWOpe9VuTAzMPkRbuFyief47JYiJL+vecoiSVSuZkT14KYQRjoTdOc+VYZPYbLxCtKeJhlLu4t7sHOEZyX+;4:NfyFPBT3FGrO9pFDR9y8IsLwcD5+TTe6wqPDZq/KzGz8EbNz4RlVz4wK014+IIdgU5Nvu24mRGCFmtMAfiZU8fw8HQuuJ4cIN+VT0iSJ0fQEs44UH6GepqdQxhKc9otY9JPZH9uchAXto1qrs/qpwLo/fOzEL+lUO1+iMZwhKXG9eimFE6D5RYyvWgJw7grzvhWgdYHE/cynfBZjALlBrpa9k4TJbj2qZ/KwS133BwRak9qqJYELRT3I7yp8jlDkf64L61xPH4OgLZ+GpmKrVl1fNiX3dg5HAh3nuxHE/oBVBXGd1k+KOTSIBss/wnBq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(93006095)(93001095)(3231344)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699016);SRVR:DB3PR0402MB3913;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3913; X-Forefront-PRVS: 078693968A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(136003)(346002)(396003)(366004)(39860400002)(376002)(199004)(189003)(5660300001)(6512007)(4326008)(86362001)(66066001)(6486002)(68736007)(50226002)(47776003)(575784001)(52116002)(51416003)(53936002)(48376002)(50466002)(25786009)(3846002)(305945005)(7736002)(2616005)(956004)(36756003)(97736004)(6116002)(186003)(16526019)(1857600001)(8676002)(81166006)(105586002)(106356001)(81156014)(386003)(6506007)(478600001)(486006)(6666003)(8936002)(26005)(6346003)(476003)(2906002)(316002)(16586007)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3913;H:anson-OptiPlex-790.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB3PR0402MB3913;23:37ey/NX32HC5tZoyAenXtqZiEX0Imi/CsHy+j8m?= =?us-ascii?Q?Ra333rvv75AMqmPVi0ldapa1X5R6dj5VQFI7YKMF6heaEvTYvlqXkEuQRoKS?= =?us-ascii?Q?vQg2acwsa9cHBzDB57WfxHFa/fkBAvQvGUDCVaUA80+0dkymA4Y2eirtim31?= =?us-ascii?Q?6JzyJ0+EBKpXcgB9cbu4Na6Ze7DMBHMyAeUnTdqMi2EVaIyj4FbzSARRM1Zl?= =?us-ascii?Q?yR5c3/ssadxQCZCiBlEAAKoQL1DkfpFZs5jDV6ClR1ipoDa72bQ0/XXP+b2k?= =?us-ascii?Q?fKXcG+JizdQMb/1eob2kx/PLi5VT00VKd9GsxQjL+qkBA29UwDng1LxuGFBH?= =?us-ascii?Q?MstNveXnuAVB2SndEC32QbMxhQuWSfxvO6wRn7n+Qr6rp5ureSAtt20vNRfS?= =?us-ascii?Q?SpbdWcjCrzEi8PCWk4T8bk78XZpZmPrxfqyeBs2zqG5lAzkCpWsajIj6zfmI?= =?us-ascii?Q?Ak54cDJZRyJT8mfSTu8e9M5fT0iCihUdK6YgArnql+fRhrxM9wq00+nj+DZV?= =?us-ascii?Q?wn+A6lZogeDpDcGZLFj7/rKc1Jd39tdLha7sQwD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M X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2018 08:15:36.3298 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 67baaf87-4716-42c9-a6a4-08d61307c448 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3913 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. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 246af86..a6dc5c4 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -417,6 +417,15 @@ VLC-supply = <®_audio>; }; + touchscreen@4 { + compatible = "eeti,egalax_ts"; + reg = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_egalax_int>; + interrupt-parent = <&gpio2>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; + }; }; &i2c3 { @@ -452,6 +461,12 @@ >; }; + pinctrl_egalax_int: egalax-intgrp { + fsl,pins = < + MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0xb0b1 + >; + }; + pinctrl_enet: enetgrp { fsl,pins = < MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0 -- 2.7.4