From patchwork Mon Aug 19 12:03:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7CB64C5320E for ; Mon, 19 Aug 2024 12:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vcIeEJw2IJFgEXXeVISkCRGjw8ENOVJquRlKsMR9nW8=; b=ZoRy3+5prDohtBG1F1QFxydNp3 SfGlr+qUGt2R+GfzGrgyZFYT6sKHqNkXx4uchqOQmI7yi1971Jz3MPa2OERA1eSVZlC8/SNM2hzoN w2zeKFwhkRV+21p8El/kyBSogO4IlZ4QCSZgbnAMM/GDOUmAwkDpk3G04T2Fw5/iv45q63YG3R11p c7srVSJD05Sefwy3tBT1IKEoWXE/gyOeELx4syDzwBpmxmZ3JKh8uxjFFFAIBaetnH1b428KlDgVr fDu+7ykSMBPHLkb87lT7yB0JuGRWYCyqdBA3GCtD8y3PxgfiibyP6lSI912pR0TongvdEdoiCyCnP CvDgigSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Bi-00000001Mti-3A8j; Mon, 19 Aug 2024 12:08:42 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg17E-00000001LEu-3YOU for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1724069044; x=1755605044; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vcIeEJw2IJFgEXXeVISkCRGjw8ENOVJquRlKsMR9nW8=; b=MY15ZzSDD3+WB6ATKAhn2oij+ACcbRI/JC2v3XkSDOdipeZfR4hna9lH iGc5WvC1TnAgF8AdgXoiehJEIcZoPjbaEYx8zLtaC7zRjLqzBdSQISAko PU/ie1pXhYIpnCt82rUfCVKXdlyQ7tx35aFRCtGXte4dQJ9RnXVF7CIQL /uv6OPfVv2yakS0C8O+PQnEpHtnTrTWqh4zOuAAuO4d5lSzSf076OpEFq tiQI73xwWrAb1seCrnCwA3qtd6N2HDoBWHlEFAfhp+QR4/QV5KdREFbhx j9HQ3zvACzjvmXQirhdt6fUbH7Df2YC8CavC79hggFlMQ4YFncZvlTcpt g==; X-CSE-ConnectionGUID: 3/7k777iQaSR8rJ/kkVSLQ== X-CSE-MsgGUID: YU9guS3xQseI8OQlPpsnVw== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467117" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:04 +0200 X-CheckPoint: {66C334B4-7-2C7A84BB-EFCBC4CF} X-MAIL-CPID: 1FC0F6563B79EC2DC12EAF63A1BBDB56_2 X-Control-Analysis: str=0001.0A782F29.66C334B4.007A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0D873166C3C; Mon, 19 Aug 2024 14:03:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069039; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=vcIeEJw2IJFgEXXeVISkCRGjw8ENOVJquRlKsMR9nW8=; b=MzSRbm9HKWbU3iwWeAH3iYMS5HbvVdZpN12fhW8XL8/lfrsVWSjmjU9evq9zI3VHU13bnv vUFMhalNoYBREtZWIkHZfhPqujGr1tG9vtRtPYWnCNdf1GL+Vily6mwasWD4npI7uD2u8x gtAO2BbB+1tLPUpJGmPym2BfxFE2GFNVjTvAejvLhtuJVOTeKOgVv9/MAFkMoeesvlDt3O oHcvC9Pp9C7YX8BnYbvZGh/lkSWGMgBaahatrXUA58pE+I9uSu8HsKqh9Jsk2dT6+cSFEf vs1CuEcZRftyT5yNHAAFgU0juOEUu85UXwoHq2LuBM+WQvH13WexSh3fyIohVw== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH v2 05/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: add irq for temp sensor Date: Mon, 19 Aug 2024 14:03:19 +0200 Message-Id: <20240819120328.229622-6-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> References: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_050405_254594_AC397404 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Markus Niebel This adds muxing and configuration of the irq output of the temp sensor on TQMa93xx that is connected to a GPIO line on MBa93xxLA While at it, add comment for RTC_EVENT for pcf85063 since the IRQ line of both devices on SoM are routed to CPU GPIO on MBa93xxLA. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../dts/freescale/imx93-tqma9352-mba93xxla.dts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index f8b489e54bc96..9e4fd1eabcfb8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -454,13 +454,21 @@ &lpuart8 { }; &pcf85063 { - /* RTC_EVENT# is connected on MBa93xxLA */ + /* RTC_EVENT# from SoM is connected on mainboard */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcf85063>; interrupt-parent = <&gpio1>; interrupts = <14 IRQ_TYPE_EDGE_FALLING>; }; +&se97_som { + /* TEMP_EVENT# from SoM is connected on mainboard */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_temp_sensor_som>; + interrupt-parent = <&gpio1>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; +}; + &tpm5 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm5>; @@ -652,6 +660,13 @@ MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1400 >; }; + pinctrl_temp_sensor_som: tempsensorsomgrp { + fsl,pins = < + /* HYS | FSEL_0 | no DSE */ + MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x1000 + >; + }; + pinctrl_tpm5: tpm5grp { fsl,pins = < MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e