Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5937907ybi; Wed, 31 Jul 2019 05:47:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwccIM2WxGYaqPE7FFF/xAew9E6EQqvUrbokKJIl9gZ5/+dY954qf/rFrrr9aUtQBnwqGd9 X-Received: by 2002:a62:4d85:: with SMTP id a127mr21971316pfb.148.1564577271113; Wed, 31 Jul 2019 05:47:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564577271; cv=pass; d=google.com; s=arc-20160816; b=skV5CLhsJROfi0icLqr0MiAykodNzT8OeQmAUqpbi9jk8JKy4uxjjOL1NGA/pdHKMh oep/LZBhSXACZgaGFqzbkQXAEu8pVjeiHLzPSkO5ByJ20OrPohXDMdytTN6XQS+BKZWE Qti/Q8sNgSGu0SstuLLyrAvGHDys0HzTwo1fZ0Uz8SD2YVA8HckIP4wDJ4KPDMPlUyJG wpHtcitMdDQrtk4lsBcvUvquGJCTVO3UJBAE5GuH07+3uf6avBWmMded0ti3HaNImHEX Q/BYZl+mBhsgt3whcEQS5PeHIaJkJNdElDN0uq0+khYuDtqwEPdo2D6et2wQAEEO6rsT /MQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=QrpoQyN+/UzCR5JErHOHajjddYJ6uZ5edlzG727cu50=; b=BCsjx5L6F8z0/4loZdhGtYkymGum5V37/v2rT5cwVWlEoqyjncUcHO5bjN5X2pE+3V 3BCOzI8QUtbkQzdsm3K/IlM+a9sbpDK7LaYTjqaDy5/J/+Hg+QDxXvT/p6NMzAq0qSAd EABhpyDP3sCXq8befV2iLMYxc5utoRuGyevL5mYn2JU0a5XyoV/M9ktT0K/QzMBUrP7l iORqtq2fvaw+4K3W2tAdebpL4PilBIPaeONG3fSH5zgvgK9Nj/6W1Sf3U29V2ofQ+ynB gZBQJQC+pfWqbh6kEjBsaMjd2FG/P4cUFX8kE7DfN3KzFI/mRRu+dYQwwCh2os62BcWi 4Weg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=qVz1VI69; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si34853150pgh.564.2019.07.31.05.47.35; Wed, 31 Jul 2019 05:47:51 -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=@toradex.com header.s=selector2 header.b=qVz1VI69; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387830AbfGaMih (ORCPT + 99 others); Wed, 31 Jul 2019 08:38:37 -0400 Received: from mail-eopbgr140114.outbound.protection.outlook.com ([40.107.14.114]:6722 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387729AbfGaMid (ORCPT ); Wed, 31 Jul 2019 08:38:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JQ8Ptn9+/80iv6GhJWsZ8PrvCU95UTa/0OMk02NmJ+z1YuUKHJM9lyKCTsZXIaJmImRIgQEOxEIYK0v0Gncs5/3E9XGxap3NtexdJU1lBvITgz14/QWuUl8yrPG4qa8XOhISDKJO6P85j8AwWtTbe31ubYekLIPznAdS0z67paUxyIK/AR8VfbZq/WhYw2KVRDAZpoZqwtnKWB3SU7zmG1+TTwlkLBCv+0Ep9pkXkxvwiO8hlur9IKpjUuFAX5sneSYMQego92RnrzxtZAi5AxR4e1sWmkjgXEZMAb8rNvFhMwu5SeY+A5y0meSdYXzyzrQVQY3aem0r9LnfX+aAew== 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=QrpoQyN+/UzCR5JErHOHajjddYJ6uZ5edlzG727cu50=; b=ATFTbXaU6ZKCGXkLY4bIpepnxp7e/whnrzQ1oobfAVEQorBTiS0DTJq2slE96P0wjcHKMuxCzh4NaFurnrchhoSsetSXXX1QtTPmKUW0/N1OFI2mskZR+aeRLRQAwGwCMORuyWsS+BMgrpW+ICtDXYLyfxyyrPJdaWLIMbqIjoqQG0qMXsBLUt/Zspu7KY7pbzjp78FaBFuyQD+b4WgukFrDfT6zo0rqJ7q1hXaDjaVXEm4/7y/7ZblF7b7FndTMRklLAM77nkYmNfZ5bfWVlVVxnbz0DUpZUDZJW6uaT2mtiG0FbK7ilDvw5PexB2UvRg9zumAyInxjSEa3JH38Xw== 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=QrpoQyN+/UzCR5JErHOHajjddYJ6uZ5edlzG727cu50=; b=qVz1VI6951TtDxsfPpoIHlH8bElVSfsksQpROIz36GTrbwz/7VwFXcQr8R1Ug918xqtDUFMdjr0bpfX+VQd9VBujfNDYuNwOZUnxhJlZ0tKo5ap5nzDmFk49BZLmhytp3Qn/wtI0/QM3MG7gS6+sMIulqe/HHSQKXBhE8XMgII8= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3648.eurprd05.prod.outlook.com (52.134.7.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.14; Wed, 31 Jul 2019 12:38:14 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2115.005; Wed, 31 Jul 2019 12:38:14 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Shawn Guo , Mark Rutland , =?iso-8859-2?Q?Michal_Vok=E1=E8?= , Fabio Estevam CC: Philippe Schenker , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer Subject: [PATCH v2 08/20] ARM: dts: imx7-colibri: Add touch controllers Thread-Topic: [PATCH v2 08/20] ARM: dts: imx7-colibri: Add touch controllers Thread-Index: AQHVR5zSfqDLO7YI3kGn89/J0dQlQg== Date: Wed, 31 Jul 2019 12:38:14 +0000 Message-ID: <20190731123750.25670-9-philippe.schenker@toradex.com> References: <20190731123750.25670-1-philippe.schenker@toradex.com> In-Reply-To: <20190731123750.25670-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: AM0PR02CA0012.eurprd02.prod.outlook.com (2603:10a6:208:3e::25) 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.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 923b3748-5c42-4f11-5ac2-08d715b3f469 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR0502MB3648; x-ms-traffictypediagnostic: VI1PR0502MB3648: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:901; x-forefront-prvs: 011579F31F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(366004)(136003)(346002)(396003)(39850400004)(189003)(199004)(64756008)(66446008)(66476007)(66946007)(6512007)(476003)(66556008)(8676002)(86362001)(36756003)(44832011)(478600001)(5660300002)(71190400001)(71200400001)(1076003)(53936002)(6486002)(486006)(6436002)(2201001)(446003)(52116002)(50226002)(11346002)(316002)(99286004)(66066001)(2616005)(305945005)(256004)(26005)(14444005)(14454004)(102836004)(7736002)(3846002)(25786009)(6116002)(76176011)(2906002)(81156014)(81166006)(68736007)(386003)(6506007)(2501003)(4326008)(8936002)(110136005)(54906003)(186003)(7416002);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0502MB3648;H:VI1PR0502MB3965.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: myYUaVJd7vhbw14NkCC30cX9Y/FHmq2hHObdlnS8bOUTRfWJkdy+ORuUXwLmfSiBFAjvg00KSlpYQi3kJrxVr1dTdxnJhxl/BY4nwiS4eQPsJNknpuoUuydGZMbqlbu0pRlvyaW2zZgIhXZZD6WzRVh4CLUB4VNUcGa8ic0ZlHWoAQtZ7MypqgE8D3MLDXuYPxdCR+kpB3ESkvV2dfEazpZHI9bhkNK0aNrPE3vusNKl+cQiix3+tB5xaStD1S3UuK4sByIENdMsRH/9zQW5J3vf3qVioSIQik0gLicFybgg8qGLPICZ+3tIqN5K4+Ex5JRC+aMKO2cqGUn0YqJO7ZYi5Lzat0zaMnG7kun5HLZbjr2TNc+9hZ1WFoSHy8fmf36Up6RYcG9P+cMbft/c47McZVP8EL+hgm6z9QhU3zA= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 923b3748-5c42-4f11-5ac2-08d715b3f469 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2019 12:38:14.2387 (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: philippe.schenker@toradex.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3648 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add atmel mxt multitouch controller and TouchRevolution multitouch controller which are connected over an I2C bus. Signed-off-by: Philippe Schenker --- Changes in v2: - Deleted touchrevolution downstream stuff - Use generic node name - Better comment arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dt= s/imx7-colibri-eval-v3.dtsi index d4dbc4fc1adf..576dec9ff81c 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -145,6 +145,21 @@ &i2c4 { status =3D "okay"; =20 + /* + * 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 =3D "atmel,maxtouch"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpiotouch>; + reg =3D <0x4a>; + interrupt-parent =3D <&gpio1>; + interrupts =3D <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios =3D <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status =3D "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ rtc: m41t0m6@68 { compatible =3D "st,m41t0"; @@ -200,3 +215,12 @@ vmmc-supply =3D <®_3v3>; status =3D "okay"; }; + +&iomuxc { + pinctrl_gpiotouch: touchgpios { + fsl,pins =3D < + MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74 + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14 + >; + }; +}; --=20 2.22.0