Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5050618pxu; Tue, 22 Dec 2020 07:15:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXeZVMWILDWRqFCnxwjabpcI6WGXRiC6fFGMd2shUTZkRH1WeDaQufbFLatQxPGCABAsha X-Received: by 2002:aa7:c388:: with SMTP id k8mr20705028edq.36.1608650156210; Tue, 22 Dec 2020 07:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608650156; cv=none; d=google.com; s=arc-20160816; b=1JV9YnmbadCQ24XJTGJW0Qbau3gjpLQq6cW+YszAfTs62Unm9VpENiqZtd1v1WJ5e7 SavRpuHhlbemdWAFAL9Mz5M/yp8494vetflfaU8QtO0DuStUEPyRPubvMaz3sMhr8EM1 0bIp+gI2K2ClS8L/FvbGE6xYzkUFcGl3rFfHVxc/2Dk9pnaqgzHFZJCwLhKPcCnWiM32 dRKlMDnMxiFvE/bg2cbz2EZoHEaDyNl+pDw0GPePm8R+GjwjwA30yCSq2/LpXTkRf0dF xd44AnHzJfloQv2lQ0BS31bDbK4wjP4llG26+VQ8X/qJ4ziZDYCGHc1TETwAFf07qot6 JU6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=epfSZTO7VkupZCE/DuLYDuw8nhFT7W/C9y0dG3QlLyc=; b=Axj+ppRf5I/DXuOSvyIf7ehMLnGK/6nWb9unAxyTZ4wX2+YwX2+TWPHBljxb5YxELT un1hCb+OXmLESUumOAIqFI/JI2XYK3DEWtnkxQtTbHeFlYaPW1w+ifWaZ/tO+pg/S3Kn agHY03lP5kbVLeoK4bVU3Ka4ii1k+sxRqzXEZvXo4hlJwHf5wUPtmMvKkvAPIuAiAvRw tMlePiCrdzUy5Isq3XZROpPrOg6G0nv2pdiphg3RJ5WsNuG+jFNbPEVa1Vd/lX/seYas NCKNzCHpVHTpePPuCQ0Mx8rPQlhMAHZt445yGOqkOa/Jwbd7W0za1LlRKXnAO9GFQ+i6 o2BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id np6si10588431ejb.609.2020.12.22.07.15.33; Tue, 22 Dec 2020 07:15:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727862AbgLVPOu (ORCPT + 99 others); Tue, 22 Dec 2020 10:14:50 -0500 Received: from comms.puri.sm ([159.203.221.185]:54828 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727840AbgLVPOu (ORCPT ); Tue, 22 Dec 2020 10:14:50 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 03B7DE021B; Tue, 22 Dec 2020 07:14:10 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wiO2Ga4tHL6U; Tue, 22 Dec 2020 07:14:09 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, krzk@kernel.org, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v2 2/4] arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen description Date: Tue, 22 Dec 2020 16:13:45 +0100 Message-Id: <20201222151347.7886-3-martin.kepplinger@puri.sm> In-Reply-To: <20201222151347.7886-1-martin.kepplinger@puri.sm> References: <20201222151347.7886-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order for the touchscreen interrupt line to work, describe it properly. Otherwise it can work if defaults are ok, but we cannot be sure. Fixes: 8f0216b006e5 ("arm64: dts: Add a device tree for the Librem 5 phone") Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 55268fc0622e..a60df09d90f7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -459,6 +459,13 @@ >; }; + pinctrl_touch: touchgrp { + fsl,pins = < + /* TP_INT */ + MX8MQ_IOMUXC_ENET_RD1_GPIO1_IO27 0x80 + >; + }; + pinctrl_typec: typecgrp { fsl,pins = < /* TYPEC_MUX_EN */ @@ -880,6 +887,8 @@ touchscreen@38 { compatible = "edt,edt-ft5506"; reg = <0x38>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_touch>; interrupt-parent = <&gpio1>; interrupts = <27 IRQ_TYPE_EDGE_FALLING>; touchscreen-size-x = <720>; -- 2.20.1