From patchwork Tue Aug 27 13:18:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11116959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1ACA0112C for ; Tue, 27 Aug 2019 13:24:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E68452054F for ; Tue, 27 Aug 2019 13:24:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qktqfJ6/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="REfiLRhV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E68452054F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=toradex.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nkinbrbc09/ftoJa5NJM4qrECfcY102pesqfB2fPAwA=; b=qktqfJ6/TTP7zP AE7cU15ZyU6NJkLAhJCEyJMOgCKswUNR5V9AmWrbcnj8t7DzGozqTqH50gZ7v0D5USgeGE0TuLlNn WhMsL4gVSpdKH/rks3iWhsZnF0O6MrwmXcvKa6sJFS1WTkZtzxIXaP1pXqQNMsWpMqRdpYHmXkRYe J/uGccB7gVfSuxNn3dk4Qs4o+MaLMR5IgvhSgzw0LEOqFX9PsKJH/FIiM7ClVt8ytmmMcYtS79gp/ cWfmeqJ7ObDsCx4Hu1WJsTxVbM866a6+rvZNl0WBpjB3HvHSrSU/W46qnO80D69QIxT0b67AzIWw3 YG/r3Uda0soO39JIs0Zg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2bSK-0000Eg-3J; Tue, 27 Aug 2019 13:24:16 +0000 Received: from mail-eopbgr50113.outbound.protection.outlook.com ([40.107.5.113] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2bN6-0002cb-2I for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 13:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=en9WvhCnq11ONce879dipSXtL3BB/FgQDdHY8M52NA90KzVnGiethgRgdmHET6wSb5U1MP7JezvM/lln6Q5+D23oXH12VSbn0ncazgFcUtHZd1rn13tW1yhZ6lx85bHVsECPE0hh3QN2pOCSfgthk/r4iERtDlka6fz8C0S2k7dSEKI1DXF0BbeQCiIlXWhgo8IHmrioFO6t/sRVtq0M/997f5UBX9AaF1pO3ceIeD5U71QiM33/Pe31PpnThRi9WngqhBdiOyJO5NHkmHJs+mp1Ycqv+xZTXqs7LFQZuWJu3Pbz+irqltIUB0qCoRshID6nHS0Ro+IV4AupqzxCIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wJ64QS/8jVPjN2X3nlcHg/p/676cBfS4rbdraIY/t9s=; b=jnc8mDAEyH6Mr5NfEemMAxYdn5bmySanu0AhAVFz8LRrITcMSJIKpDiShUw8ybP3WtRN6ENGHGIcbG4smDU+BZP7Uxh7+IkrpHvOsu46Xc7szOJSX3omC0iLqkkhpnr4jdTZkyvBzgCIp2MwsGJO6y2BkrQwrfod4C35j44oxjooOIruJyvXmhm/WUKIvhi/EmdHMhFuusGST/HgaMT3GtNjXiC8/FHeL/uPhI2W8oZNZqcEVLy/aKnhL2vrdZAn4P8PodawrCeg/sMGOKtgveQmaW1ZKbTzE4p8O6yid6ppO8CTMEgJ2wCi8B53TqfhxU/Mp51XTNDW0crp7w4WPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wJ64QS/8jVPjN2X3nlcHg/p/676cBfS4rbdraIY/t9s=; b=REfiLRhVzW7KB8zZENXQIGJQmjER4BcZQHxf41VFZk4kmPDR32lpDcyTRCHfo2wZNrhqmple/arZs67LbQMV6JfnIzeUVX0YC/YxC3KLk0TwRSS+5k4LLuO0N43JWKIp9pT7fzFfETvJvP8INx7lCiaxij1AI/0s5LaWBtizV3I= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3008.eurprd05.prod.outlook.com (10.172.255.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Tue, 27 Aug 2019 13:18:42 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9%6]) with mapi id 15.20.2199.021; Tue, 27 Aug 2019 13:18:42 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan @ agner . ch" , "devicetree @ vger . kernel . org" , Rob Herring , Shawn Guo , Mark Rutland , =?utf-8?b?TWljaGFsIFZva8OhxI0=?= , Fabio Estevam Subject: [PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Topic: [PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Thread-Index: AQHVXNny2WCdTF6H40qV0xJg8ZiIRg== Date: Tue, 27 Aug 2019 13:18:42 +0000 Message-ID: <20190827131806.6816-14-philippe.schenker@toradex.com> References: <20190827131806.6816-1-philippe.schenker@toradex.com> In-Reply-To: <20190827131806.6816-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR0102CA0031.eurprd01.prod.exchangelabs.com (2603:10a6:208:14::44) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.23.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: caaf72b4-e396-46a5-5bdb-08d72af114bc x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3008; x-ms-traffictypediagnostic: VI1PR0502MB3008: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:530; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(346002)(366004)(376002)(39850400004)(396003)(136003)(199004)(189003)(4326008)(256004)(36756003)(6512007)(14444005)(86362001)(5660300002)(25786009)(66446008)(64756008)(66476007)(66556008)(1076003)(478600001)(66066001)(316002)(110136005)(53936002)(71200400001)(54906003)(71190400001)(7416002)(8936002)(8676002)(52116002)(76176011)(6116002)(6486002)(50226002)(3846002)(2906002)(66946007)(99286004)(486006)(44832011)(2616005)(14454004)(305945005)(6506007)(386003)(186003)(7736002)(26005)(81156014)(81166006)(6436002)(476003)(11346002)(446003)(102836004)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3008; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Y72o342tkGJU8dODCIANwFg0I11s49wKLQw3vkcsGt8wXd/mziCJ0QF4KWn65CpICB+RN497dR6Ie5R2T8JM+l7eGV61CRcpK+1Qxrkl3r9lujCH4qGZ80Kf7ziLPGZJTt/RKANiy9Zer2wsLcdPnUhsV9+NbtlJOlLVySH4vaQn/7FQBwXpcajhMyLp09wLPM86yl1ykzCs6XFqoMKzQX2wXvNzYmm4f6I7VV6QTrjoHwDqSMh63LK9ACcei9qHliYE1VU9ijIbgC6BPNC2Hk87KIYkGZx2QP3Q87Sl6GdeaZuctQ8j/G7LRV1LhOBuyFMIl0Rl0NZOxSYV5UR4YjAdpfEW5f8G+tDM7Wn8i/XcxIbooejyPQM+3ZQiaP43s09sF4gK6PQsBQg7jkloJcKUZnGMjzmxQzT4klez1iU= Content-ID: <6625A000C6DDED4F94A0DF53AA4BE792@eurprd05.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: caaf72b4-e396-46a5-5bdb-08d72af114bc X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 13:18:42.1806 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +847SBpbmid/6ntqvzNJ9sVbLjIjUczViTe6II0SSZXMC43nYGI1e7bKrOgeYkf6RdeZbo2HSRWp2HAzEENdky1tJUygijOIj1+Pk9Z//6E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_061852_298688_0A3B82BD X-CRM114-Status: GOOD ( 14.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.5.113 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sascha Hauer , "linux-kernel@vger.kernel.org" , Oleksandr Suvorov , Philippe Schenker , NXP Linux Team , Pengutronix Kernel Team , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds the common touchscreen that is used with Toradex's Eval Boards. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov Marcel Ziswiler Max Krummenacher stefan@agner.ch devicetree@vger.kernel.org Rob Herring Shawn Guo Mark Rutland Michal Vokáč Fabio Estevam --- Changes in v5: - Added note to commit message about disabled status - Add Olek's Reviewed-by Changes in v4: None Changes in v3: None Changes in v2: - Removed f0710a that is downstream only - Changed to generic node name - Better comment .../arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi index a78849fd2afa..458a4084e53c 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi @@ -100,6 +100,21 @@ &i2c1 { status = "okay"; + /* + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms + */ + touchscreen@4a { + compatible = "atmel,maxtouch"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiotouch>; + reg = <0x4a>; + interrupt-parent = <&gpio4>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ m41t0m6: rtc@68 { compatible = "st,m41t0"; @@ -176,3 +191,12 @@ sd-uhs-sdr104; status = "okay"; }; + +&iomuxc { + pinctrl_gpiotouch: touchgpios { + fsl,pins = < + MX6UL_PAD_NAND_DQS__GPIO4_IO16 0x74 + MX6UL_PAD_ENET1_TX_EN__GPIO2_IO05 0x14 + >; + }; +};