From patchwork Wed Jul 31 12:38:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11067711 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 056B713B1 for ; Wed, 31 Jul 2019 12:40:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E233C28927 for ; Wed, 31 Jul 2019 12:40:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D610F28899; Wed, 31 Jul 2019 12:40:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3BE6228927 for ; Wed, 31 Jul 2019 12:40:23 +0000 (UTC) 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:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hpjjshn9fcN7z+MBIpurIwpVI6ne9+3QlOZ8p4BIRnU=; b=cQS1ty0VdFDp85 YhNHsfeGgAZ0+YjB750UfhmRjShLo6RcL7O//6C5i/BtaagPLDtnb7QoJxPllTYu0YIFqzSmwnewI ftwzXdO/4soth49rrnohMon/NScSftpZcr0sXacWu7GyWg0Da7J1L6EYYG5ZXWZBRtKpxw1X+xhyP aSW5aYixRrPFAGNVVdV3xy+rgHwNXnFWmoPph8lKeEIRfaRYZGHjsQ93a38oTFXpnQZ4JuTn4X+1A i8ZpwT/1ZRx9rT5cucM9CjoMHDTpY1fhpL13mrxNw5NYbvpksDpybyiYKJ1cgE1BLxNddqIxMCe3C vbsa8AqCC8muy87qI9rA==; 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 1hsnu1-00015k-J0; Wed, 31 Jul 2019 12:40:21 +0000 Received: from mail-eopbgr60133.outbound.protection.outlook.com ([40.107.6.133] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsns3-00061E-1J for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 12:38:20 +0000 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 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= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_053819_104903_E8873351 X-CRM114-Status: GOOD ( 10.71 ) 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" , 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 X-Virus-Scanned: ClamAV using ClamSMTP 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/dts/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 = "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 = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "disabled"; + }; + /* M41T0M6 real time clock on carrier board */ rtc: m41t0m6@68 { compatible = "st,m41t0"; @@ -200,3 +215,12 @@ vmmc-supply = <®_3v3>; status = "okay"; }; + +&iomuxc { + pinctrl_gpiotouch: touchgpios { + fsl,pins = < + MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74 + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14 + >; + }; +};