From patchwork Mon Aug 19 12:03:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768276 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 3BC8CC3DA4A for ; Mon, 19 Aug 2024 12:06:10 +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=AlLyVPcDweKxoqSPfzobGrSnmdMO77JExhjrPdDR44E=; b=VCvjJMcPmYExyAwncXhPCVzbx9 oqLjmo+6AXoTmNv38DUW2Mth6Hqb+izHT4CVhwsCvrAI9XEHU7wAWrakHL5/xOIPKgdyw9mGvOw92 7cICY4wDnGbfzq7i51o54PlRIO5x7atAeDdM7k1p+u9uwVM8kaPcDJIsillALGizpOkEHBXjA5gjW R+4hR7mgpRIVu50rKdvrZbEsjfE49dW2vVvRo6ojNkUumLYdrGFG/esLHyx1Pwgqoc7+8Tciw+BfS L5VPQLUVPjDNF4Dv0Mvydbe55nUj9kjQMW7e18fTnCqg0JBKFMsyeu+HA9E8ctMoeV2EZi8AESnFG jY5RiLyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg195-00000001M40-2SKA; Mon, 19 Aug 2024 12:05:59 +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 1sg16s-00000001LEu-2nvc for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:03:45 +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=1724069022; x=1755605022; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AlLyVPcDweKxoqSPfzobGrSnmdMO77JExhjrPdDR44E=; b=gnNIGni5333tKy5rBba1dWzlSi0FUD2xgHOjSQ2jVp7eJ9E39l3CaO0o NYKIq3wJjyswuB3Q4ENeokXZkm/U/AAvTjmkbmN4WBBzi5s5A2W2uUIqU gRLtymBlAOa2QkzAUowhVa95andTK+CdV637sIIwGsvnHZoA0Ve9gutEo LyYeEbl/9Vuf71G4PnG6bXHkHomdBiqRO46tQbIaKg2wYQDbOtp58B461 myW5WEqzjG6XWfKnvRk4IBLLBLzeeTaSbvXlO3V7dgdn2MIsSoFKNKZNJ QhOk5Q7nnAjERX1XylKQlPXY9++yXcv9uaxzzzIgRrdo9RpDFcqd7E/OY g==; X-CSE-ConnectionGUID: JQ62y8yGThuFkqshpWlGaw== X-CSE-MsgGUID: mztHI6FIRY6wgpOk7Fjp3A== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467101" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:03:42 +0200 X-CheckPoint: {66C3349D-27-E9ED6009-C4B0BEC8} X-MAIL-CPID: 7FE3CA89D5D4F40EFEDE0356461F5D71_3 X-Control-Analysis: str=0001.0A782F24.66C3349E.0038,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 E8E39166FD3; Mon, 19 Aug 2024 14:03:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069017; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=AlLyVPcDweKxoqSPfzobGrSnmdMO77JExhjrPdDR44E=; b=QpN68MuiMu+OElTmgCIUNXSEmiB+Mfq0T05FJWNZ0yoDggpUZp4V4NCoYH/tzbP/oRRVL0 i64YfKHBCFDDGrkFsj1mdKx08D0HM8BnTeIJSu5W2oKGzdJ/a9ndAutLcgGbQXj/64VYLA lIp5MaU8/F+4Xq2ccB/4PVDmfOrZERbnNWea4LZ+hGjD590xx8d7cEp516Ynomzj2rJX4y PcBmwyhALJcuK9+Cg4Q2EDUhhWZMhgiACiWDwTrR54llO9NcDi4W+HjnfY650p5OnkiNpa ye8jwo9vDnQm3qYa073b/5WCHPgfMvQCzRHzwY093Nq0VUvYnq1mkZpbfnOHyw== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH v2 01/14] arm64: dts: freescale: imx93-tqma9352: Add PMIC node Date: Mon, 19 Aug 2024 14:03:15 +0200 Message-Id: <20240819120328.229622-2-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_050343_035249_267E9900 X-CRM114-Status: GOOD ( 11.11 ) 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 With driver support in place add the PMIC node and remove the fixed-regulators for rails provided by PMIC. Signed-off-by: Alexander Stein Reviewed-by: Peng Fan --- .../boot/dts/freescale/imx93-tqma9352.dtsi | 113 ++++++++++++++---- 1 file changed, 92 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi index acd08263344fc..041389b369af6 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi @@ -25,20 +25,6 @@ linux,cma { }; }; - reg_v1v8: regulator-v1v8 { - compatible = "regulator-fixed"; - regulator-name = "V_1V8"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - reg_v3v3: regulator-v3v3 { - compatible = "regulator-fixed"; - regulator-name = "V_3V3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - /* SD2 RST# via PMIC SW_EN */ reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; @@ -47,14 +33,14 @@ reg_usdhc2_vmmc: regulator-usdhc2 { regulator-name = "VSD_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - vin-supply = <®_v3v3>; + vin-supply = <&buck4>; gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>; enable-active-high; }; }; &adc1 { - vref-supply = <®_v1v8>; + vref-supply = <&buck5>; }; &flexspi1 { @@ -105,6 +91,91 @@ se97_som: temperature-sensor@1b { reg = <0x1b>; }; + pca9451a: pmic@25 { + compatible = "nxp,pca9451a"; + reg = <0x25>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pca9451>; + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + + regulators { + /* V_0V8_SOC - hw developer guide: 0.75 .. 0.9 */ + buck1: BUCK1 { + regulator-name = "BUCK1"; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <900000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + /* V_DDRQ - 1.1 LPDDR4 or 0.6 LPDDR4X */ + buck2: BUCK2 { + regulator-name = "BUCK2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1100000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + /* V_3V3 - EEPROM, RTC, ... */ + buck4: BUCK4 { + regulator-name = "BUCK4"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + /* V_1V8 - SPI NOR, eMMC, RAM VDD1... */ + buck5: BUCK5 { + regulator-name = "BUCK5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + /* V_1V1 - RAM VDD2*/ + buck6: BUCK6 { + regulator-name = "BUCK6"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-boot-on; + regulator-always-on; + }; + + /* V_1V8_BBSM, fix 1.8 */ + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + /* V_0V8_ANA */ + ldo4: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-boot-on; + regulator-always-on; + }; + + /* V_SD2 - 3.3/1.8V USDHC2 io Voltage */ + ldo5: LDO5 { + regulator-name = "LDO5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; + pcf85063: rtc@51 { compatible = "nxp,pcf85063a"; reg = <0x51>; @@ -116,28 +187,28 @@ eeprom0: eeprom@53 { reg = <0x53>; pagesize = <16>; read-only; - vcc-supply = <®_v3v3>; + vcc-supply = <&buck4>; }; eeprom1: eeprom@57 { compatible = "atmel,24c64"; reg = <0x57>; pagesize = <32>; - vcc-supply = <®_v3v3>; + vcc-supply = <&buck4>; }; /* protectable identification memory (part of M24C64-D @57) */ eeprom@5f { compatible = "atmel,24c64d-wl"; reg = <0x5f>; - vcc-supply = <®_v3v3>; + vcc-supply = <&buck4>; }; imu@6a { compatible = "st,ism330dhcx"; reg = <0x6a>; - vdd-supply = <®_v3v3>; - vddio-supply = <®_v3v3>; + vdd-supply = <&buck4>; + vddio-supply = <&buck4>; }; }; From patchwork Mon Aug 19 12:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768277 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 EB59FC3DA4A for ; Mon, 19 Aug 2024 12:06:52 +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=5Y9DVM7hHM/EsVr/LYiF7eeoUKm8CmSLc91tkQSSuBM=; b=oYBLw79CVtgRKmY+7al5E/GE7x Sgu5YHBaCJvte2vrhKjOuwt9gsS8i18lRKokIMRotFDARWK8bDJCVAfc/1tqbvuZJTH6Yh8btxoVB 5OxJdZXSLmDCXt2mo9G0TjpVp0KDMsWNcwcX5pewjJu6oBt4rNU+qw/KT1ieEkJREQDKreCCITxU+ /sN5fobyISZnJnVj9Us2YCPOAHLgxb4SmyE8xf7NkGAMXTpEzxR1HAVQRNG+UP8g5WGZ3h/tcvBHN lzQHyDl9VhDIAHI6m+3aHGHKac86r3xoUZEQvtcqnV0PzlLLxRPARcpB+t/ByUSr5qy/CkU0Ec9Kj Ts6Ezc9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg19j-00000001MHA-3E56; Mon, 19 Aug 2024 12:06:39 +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 1sg16y-00000001LEu-03SS for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:03:50 +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=1724069028; x=1755605028; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5Y9DVM7hHM/EsVr/LYiF7eeoUKm8CmSLc91tkQSSuBM=; b=M6+20t5CCr2wD/b2E35ZOBmpxytM/LpwnVVqovxzyk8lJR2AOA3zCfUa ie50UYux6Tv1OO1XtPjQpXYDrvF53ZlOIgE5TZbzJ0gzHws5DPY/3lMrV CGOcdJx6KTKvKI0WEpJkzgV0us1A/L9B42YA3mZPeiH8dEnEA78r8KgoL UdVSvliYlosP2kEAEcNsfQUD59z45nVgcrZ2W6FObRIUYUss/EASFPdit HEsPNphjDnlhpl8/PXFj/nS95yiHwP7qGAot93Dg2m2/VLkfQRwv8mbDM nSbDo/CprVhMhkKQOYTan97YfOx9zDRkC/JJ07TE0zGy4DjGLfeAufq2i Q==; X-CSE-ConnectionGUID: JM3Z0T98TqOqkTqipp9DJg== X-CSE-MsgGUID: bHdXgtwwQvynAbnLgl4kAg== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467104" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:03:47 +0200 X-CheckPoint: {66C334A3-11-45EF2B36-F6E28480} X-MAIL-CPID: EB727F1666CB24F7B6B6843512764821_0 X-Control-Analysis: str=0001.0A782F17.66C334A3.00B2,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 7048B1670B3; Mon, 19 Aug 2024 14:03:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069023; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=5Y9DVM7hHM/EsVr/LYiF7eeoUKm8CmSLc91tkQSSuBM=; b=eads0jDZSaOHOUuWXsFviDTn5R0ttJfZCGkB5ZrM+Wgi87NtnqB7LdhJ9L+9cIg5ZZVP82 pOA6rTkM5BxMTB2TOLjhQem0BkMovuHMaXTERJUQvOv3llW257t3obNi0F/Y6jrSL3RYJk U0pSz1H79WgqxTzdG/yRqWdxdcbWbqXruMJfduXD/qV4zEZtcPFwkfQLkbUANkE02BiYTS BrQKIE+tPLE7X7wvTzVH3hKwKw+rczIKJB0iXeXA9+p5pmviGJ8jZRTyqIWdt6Wiro9kOk ODJEcix06RYfIb9i8qEcyKjmY0f5Sbw8biLKYTVdu2LbZfr4CgUBSOPyjQHdKw== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH v2 02/14] arm64: dts: freescale: imx93-tqma9352: add eMMC regulators Date: Mon, 19 Aug 2024 14:03:16 +0200 Message-Id: <20240819120328.229622-3-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_050348_369722_4E737DD9 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. 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 With PMIC node in place, add the correct regulators for eMMC. Signed-off-by: Alexander Stein Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi index 041389b369af6..48ba60832eb3e 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi @@ -217,6 +217,8 @@ &usdhc1 { pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1>; pinctrl-2 = <&pinctrl_usdhc1>; + vmmc-supply = <&buck4>; + vqmmc-supply = <&buck5>; bus-width = <8>; non-removable; no-sdio; From patchwork Mon Aug 19 12:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768279 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 2E8F4C3DA4A for ; Mon, 19 Aug 2024 12:07:32 +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=5qyXLJxp2Olpp0b4I+lhhwywezjIj1XY/F02aYOHYh8=; b=2bD61dqxfGKok5dMmsjH0NQl6g BfW3BraM5JmoCLm6kSK/Yo4qmCBYtwtBbTvaQ1hpMMcaXOMTW8ogMdaHsEZB85IULSYgAjIwD8MOc YfDOEqQTfe1L/+CQ1i2E6FLs4Vjro/sLGViAGIm8ehApA7rUXqhUMJbWmXcBHkrkPH+WZiDXktjLg m+kFVI9V3qKYY7NBtmJYdm9he7L8wnTA5Z3c2AYgP7ce4j2snLAhu/LHkdLhp1nJ/SWbx8PoUTjGl oJxobgtUHZjlnCpZ6T8Ufl5YSNyodT0tb0Rve47DdxKd5fZZF/yDJGCKdx2yedVSVMLugiGgYK7Km AyA+QjgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1AO-00000001MTL-2ahc; Mon, 19 Aug 2024 12:07:20 +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 1sg174-00000001LEu-0gJm for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:03:55 +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=1724069034; x=1755605034; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5qyXLJxp2Olpp0b4I+lhhwywezjIj1XY/F02aYOHYh8=; b=QQQQwlb15kY/NP8YColoT/D+SR5hO9M4JC/PRGwCYuOFgosWLyTxjLUo 0O9zszvZNbrRIanJ31hFLbMmYWJvSP5IJ/EJ1QU10xEEdavsdQ0CK/8xF 1m2QPE9iIHqSROJyFunvzhPUHLZ/INdIwxPQmpfDZdBOkNi6nnAFQTwjo cvyd9Rh8JzdlNfKbWkQZGpUmPxgbvFLf8wAEaOfT+Ps28dWp9VryDhMHK 1fhc8jLqUBiVOxGyjJZas98fkwFaRhSpzlA91832ildcG8iOn35MIYjSj HciK1DNicX6UAl1hc+E0iNIuHP5qFUsgV4Z0x0AplB6qhBby2+JAJ9g25 A==; X-CSE-ConnectionGUID: zroHvyvbQcq030OOtLXdWw== X-CSE-MsgGUID: IsACh3XnSX6v5/2otgBMhA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467109" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:03:53 +0200 X-CheckPoint: {66C334A9-D-78509F09-E532FC2E} X-MAIL-CPID: E7BC7746B63DBC1E9E597AC2DC2513FF_1 X-Control-Analysis: str=0001.0A782F17.66C334A9.00D4,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 4B7C9166A00; Mon, 19 Aug 2024 14:03:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069028; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=5qyXLJxp2Olpp0b4I+lhhwywezjIj1XY/F02aYOHYh8=; b=C0cpD21Wgts+evBzHHmZq829k94aXkatuXceYEgm4+njnMDypeNulQhlPlsJpcAzKCvXmE fWqVOuz+m9lZSyb3SAToASlr/sg6wjnhfJb3Lyka0klIqm91fBx9B2ojNbHTtTKiLuNw4K 1H1UFaApI5pR/ZJ2mwRlaCfl5yh3wGUtI1K6OPsizupg0iHll6K3Fs2PqWSTopaiwH/+v0 YIVQnS/Kipclo+4xVXcYfaZtYaXfuuosILcAu8LTLjd/X7UHZjJlARFlHINmFT/njRR00E kLIN6wMxTFSL8h+MUEEik22yALuwXdFFGJjB0/Rorf4WM/5RMmyLyyVXW1bY1A== 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 03/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: improve pad configuration Date: Mon, 19 Aug 2024 14:03:17 +0200 Message-Id: <20240819120328.229622-4-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_050354_635756_B58B1641 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. 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 - disable PU/PD if already done with external resistors - do not configure Schmitt Trigger for outputs - do not configure DSE / FSEL for inputs Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxla.dts | 170 ++++++++++-------- 1 file changed, 97 insertions(+), 73 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index 6bca1187b2a98..bbe0fcf97b2a5 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -512,22 +512,23 @@ &iomuxc { pinctrl_eqos: eqosgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ - MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x51e - MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x4000051e - /* PD | FSEL_2 | DSE X6 */ - MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x57e - MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x57e - MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x57e - MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x57e - /* PD | FSEL_3 | DSE X6 */ - MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x5fe - MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x57e + MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x51e + /* SION | HYS | FSEL_2 | DSE X4 */ + MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x4000111e + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x1000 + MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x1000 + MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x1000 + MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x1000 + MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x1000 + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x1400 /* PD | FSEL_2 | DSE X4 */ - MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x51e - MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x51e - MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x51e - MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x51e - MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x51e + MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x51e + MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x51e + MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x51e + MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x51e + MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x51e /* PD | FSEL_3 | DSE X3 */ MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x58e >; @@ -535,7 +536,8 @@ MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x58e pinctrl_eqos_phy: eqosphygrp { fsl,pins = < - MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x1306 + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x1000 >; }; @@ -543,15 +545,16 @@ pinctrl_fec: fecgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ MX93_PAD_ENET2_MDC__ENET1_MDC 0x51e - MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x4000051e - /* PD | FSEL_2 | DSE X6 */ - MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x57e - MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x57e - MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x57e - MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x57e - /* PD | FSEL_3 | DSE X6 */ - MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x5fe - MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x57e + /* SION | HYS | FSEL_2 | DSE X4 */ + MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x4000111e + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x1000 + MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x1000 + MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x1000 + MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x1000 + MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x1000 + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x1400 /* PD | FSEL_2 | DSE X4 */ MX93_PAD_ENET2_TD0__ENET1_RGMII_TD0 0x51e MX93_PAD_ENET2_TD1__ENET1_RGMII_TD1 0x51e @@ -565,139 +568,160 @@ MX93_PAD_ENET2_TXC__ENET1_RGMII_TXC 0x58e pinctrl_fec_phy: fecphygrp { fsl,pins = < - MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x1306 + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x1000 >; }; pinctrl_flexcan1: flexcan1grp { fsl,pins = < - MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x139e - MX93_PAD_PDM_CLK__CAN1_TX 0x139e + /* HYS | PU | FSEL_0 | DSE no drive */ + MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x1200 + /* PU | FSEL_3 | DSE X4 */ + MX93_PAD_PDM_CLK__CAN1_TX 0x039e >; }; pinctrl_flexcan2: flexcan2grp { fsl,pins = < - MX93_PAD_GPIO_IO25__CAN2_TX 0x139e - MX93_PAD_GPIO_IO27__CAN2_RX 0x139e + /* HYS | PU | FSEL_0 | DSE no drive */ + MX93_PAD_GPIO_IO27__CAN2_RX 0x1200 + /* PU | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO25__CAN2_TX 0x039e >; }; pinctrl_lpi2c3: lpi2c3grp { fsl,pins = < - MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e - MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + /* SION | HYS | OD | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x4000199e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x4000199e >; }; pinctrl_lpi2c5: lpi2c5grp { fsl,pins = < - MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x40000b9e - MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x40000b9e + /* SION | HYS | OD | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x4000199e + MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x4000199e >; }; pinctrl_pcf85063: pcf85063grp { fsl,pins = < - MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1306 + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000 >; }; pinctrl_pexp_irq: pexpirqgrp { fsl,pins = < - MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1306 + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1000 >; }; pinctrl_tc9595: tc9595-grp { fsl,pins = < - /* DP_IRQ */ - MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1306 + /* HYS | PD | FSEL_0 | no DSE */ + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1400 >; }; pinctrl_tpm5: tpm5grp { fsl,pins = < - MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e + MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e >; }; pinctrl_typec: typecgrp { fsl,pins = < - MX93_PAD_I2C2_SCL__GPIO1_IO02 0x1306 + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_I2C2_SCL__GPIO1_IO02 0x1000 >; }; pinctrl_uart1: uart1grp { fsl,pins = < - MX93_PAD_UART1_RXD__LPUART1_RX 0x31e - MX93_PAD_UART1_TXD__LPUART1_TX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_UART1_RXD__LPUART1_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_UART1_TXD__LPUART1_TX 0x011e >; }; pinctrl_uart2: uart2grp { fsl,pins = < - MX93_PAD_UART2_TXD__LPUART2_TX 0x31e - MX93_PAD_UART2_RXD__LPUART2_RX 0x31e - MX93_PAD_SAI1_TXD0__LPUART2_RTS_B 0x51e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_UART2_RXD__LPUART2_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_UART2_TXD__LPUART2_TX 0x011e + MX93_PAD_SAI1_TXD0__LPUART2_RTS_B 0x011e >; }; pinctrl_uart3: uart3grp { fsl,pins = < - MX93_PAD_GPIO_IO14__LPUART3_TX 0x31e - MX93_PAD_GPIO_IO15__LPUART3_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO15__LPUART3_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO14__LPUART3_TX 0x011e >; }; pinctrl_uart6: uart6grp { fsl,pins = < - MX93_PAD_GPIO_IO04__LPUART6_TX 0x31e - MX93_PAD_GPIO_IO05__LPUART6_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO05__LPUART6_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO04__LPUART6_TX 0x011e >; }; pinctrl_uart8: uart8grp { fsl,pins = < - MX93_PAD_GPIO_IO12__LPUART8_TX 0x31e - MX93_PAD_GPIO_IO13__LPUART8_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO13__LPUART8_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO12__LPUART8_TX 0x011e >; }; pinctrl_usdhc2_gpio: usdhc2gpiogrp { fsl,pins = < - MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_SD2_CD_B__GPIO3_IO00 0x1000 >; }; pinctrl_usdhc2_hs: usdhc2hsgrp { fsl,pins = < - /* HYS | PD | PU | FSEL_3 | DSE X5 */ - MX93_PAD_SD2_CLK__USDHC2_CLK 0x17be - /* HYS | PD | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - /* HYS | PD | PU | FSEL_3 | DSE X3 */ - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e - /* PD | PU | FSEL_2 | DSE X3 */ - MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x50e + /* PD | FSEL_3 | DSE X5 */ + MX93_PAD_SD2_CLK__USDHC2_CLK 0x05be + /* HYS | PU | FSEL_3 | DSE X4 */ + MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + /* HYS | PU | FSEL_3 | DSE X3 */ + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e + /* FSEL_2 | DSE X3 */ + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; pinctrl_usdhc2_uhs: usdhc2uhsgrp { fsl,pins = < - /* HYS | PD | PU | FSEL_3 | DSE X6 */ - MX93_PAD_SD2_CLK__USDHC2_CLK 0x17fe - /* HYS | PD | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e - /* PD | PU | FSEL_2 | DSE X3 */ - MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x50e + /* PD | FSEL_3 | DSE X6 */ + MX93_PAD_SD2_CLK__USDHC2_CLK 0x05fe + /* HYS | PU | FSEL_3 | DSE X4 */ + MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e + /* FSEL_2 | DSE X3 */ + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; }; From patchwork Mon Aug 19 12:03:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768280 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 9E851C3DA4A for ; Mon, 19 Aug 2024 12:08:12 +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=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=3NozLiRmsx5f0VruiPKHE+JL44 K2byKrx2h4tnXs+snOdGcvyLOaovNlAb3mNaU8+teiSRYOnqOsbz+NXAewMVCEIpLimfUbjK6zgbE Ps95AVBc9x2FjLfcIxWv+YEuOcfzpYjzcJxOhjZZ7SBO50mOQB2e6oHsmFzZz7J+NNIPjmhLtvSSr LAZvh/fVITH1Lnpjh0lAMAX6zIWuYoRTFfvZADZzZBqqgKg0ZWHygybZ/RNgBUB+7SfudrNWhcOa8 O0zYPP76XKbotfFi9gl/DRmqafjk8w8esiRhSI58WsMa5IM8AwL+OtJ4gjbCt0LwKAz3VoThrDUEp 06/gR6IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1B3-00000001Mg7-1cZD; Mon, 19 Aug 2024 12:08:01 +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 1sg179-00000001LEu-0nd1 for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:01 +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=1724069039; x=1755605039; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=ijQLbDmwUGSHOYu6fvsK7FrZf1GrqBRwiD9jWOcoLsYpaVBu+cKa9vC/ rygQQvl6b2Eva6oM6D98qeBoxZ8rKv3Iwb4Nw2McXPEBeBqhGALLH7LIN NzPXBnPgHsa378zAgf2aBzYH3Acx9rnNle2hSmrLk0+RQhm2gX731JVuO 6qrqEg4l9hRJ27kmm5e60U4+/lVmjTKNEoxHxehRVVI2SuhETPfcHjnTb Uj5iIl3qzHNs2dDVYiiUXjVhDFq4Wh5U6h5bl5KStPnMDNY5pLZE6Xgzw CwZInra4fnCsGZP/hmh6vOs0Kkq/7dohKZ+wNNi+2NSOydvNNNk4VMTlE g==; X-CSE-ConnectionGUID: gEG1kUZJQnmr1L8lT21Weg== X-CSE-MsgGUID: HRyERiq4T7e2zS2R9NDOrA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467111" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:03:58 +0200 X-CheckPoint: {66C334AE-17-E9ED6009-C4B0BEC8} X-MAIL-CPID: CC8392074D6D5F94FC03C398CD7CA761_3 X-Control-Analysis: str=0001.0A782F24.66C334AE.00FA,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 BAAC71657A4; Mon, 19 Aug 2024 14:03:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069034; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=XcSY19so5faHa9cGUTsycnweQU0DR1vI084cPGtA/4JzYBvO7afezf9t/PtumI2n/dAGQX SjcAons7sLb8cx8Wtr4RRGHrCjv/u1riYzp+X5ZZuqXJ03wq1Ff/3BcQS0fBY+TAUVtGTD eu+YeTssv6uldedW/txQz+VlqC8sPpyTlWFhquY2RuBXFy9I9xkUMA3Y7grKGJ5XzxWNFE Dt+bxWSaOw0xxf2e9j9aKadVuPxApfGyRqd2Hx8bZa1Wd+I156UIFDLp5knaSM023cHwi5 qzVby8qVsEt/DkkL8fcExAxVrbClN3LUogSUojY8uJ36s8pG/xYPfwHQDh72oQ== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: enable LPSPI6 interface Date: Mon, 19 Aug 2024 14:03:18 +0200 Message-Id: <20240819120328.229622-5-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_050359_634649_2C62170D X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. 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 LPSPI6 features a NAFE13388 analog frontend. Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxla.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index bbe0fcf97b2a5..f8b489e54bc96 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -414,6 +414,13 @@ dp_dsi_in: endpoint { }; }; +&lpspi6 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi6>, <&pinctrl_lpspi6_cs>; + cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &lpuart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -607,6 +614,23 @@ MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x4000199e >; }; + pinctrl_lpspi6: lpspi6grp { + fsl,pins = < + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x1400 + /* PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x051e + MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x051e + >; + }; + + pinctrl_lpspi6_cs: lpspi6csgrp { + fsl,pins = < + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO00__GPIO2_IO00 0x011e + >; + }; + pinctrl_pcf85063: pcf85063grp { fsl,pins = < /* HYS | FSEL_0 | No DSE */ 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 From patchwork Mon Aug 19 12:03:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768282 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 0698DC3DA4A for ; Mon, 19 Aug 2024 12:09:35 +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=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=stxXK9nVVqqzp5juMCQsZWOj54 BcS93CQp0MJRH0P9vGDlEctUm9WV5cPXUkrUxQVQBnI/52eLQANAoCBEjIDxsjc9wjMyASnMd391J XqezhZt7kjWcYi1NGlrXc3uc0re6VYKQCbKaBHjff16DThIvujk9CLtM00kIiYUU3AbI5oFUP7bB4 L3z5yqCUTdckIYPqNPwhs2HybJ8Ba2yszv3/y+AQZ4DgQd6rmOe4Xbh5uuk9qVL0FQDRbRYkBt0q8 eKOjF2vTWiQIj1hj2PoIjE7bgMwDJH3+hOyRHEWfvBLAoL/lucM3wgc6Zk9mZnZsSgumZzxLeioA/ oDpjxHrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1CM-00000001N7c-3uDI; Mon, 19 Aug 2024 12:09:22 +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 1sg17K-00000001LEu-1zcn for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:14 +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=1724069050; x=1755605050; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=n6GlwG78TN6OmYnxJpm3YtNzTgnXHPFBGTwFfF17yRvF46CShH8kAozO 3EKMj4NMWQMuDMJFSN8XWonCCTZgAVwQIcynV9KtEqBn/Kr5CxXaeGHlS jHUN++6PKyaq9T07QaYmoxQR/DTrdxnANh+2KiQDSUSK/wB8fMOj81m8l K20PJbuEcCeZ5m6hJCBXqtFRfllAcm2WJER8Kt0Rwg2+iElP4bbx3hqVn Jgpd+vgUS5FbstRqhg9jWhxCy/PmxpkLhtlHLcOoCxXN71Ss6ufquYqgI ELMcbdmPBJtqGe5q55VlojC1CtRtOKTDxwM60CDq8+vOkMUUcuzXnHG8Y Q==; X-CSE-ConnectionGUID: qHKk8luzRe6kLkr5VtF0eQ== X-CSE-MsgGUID: QsDYxp4hS0CygMkoEBjZ+Q== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467123" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:09 +0200 X-CheckPoint: {66C334B9-20-FF00FE11-F2A862FD} X-MAIL-CPID: D4B7E3D9CAD9360846CFC0F2BA1424EA_5 X-Control-Analysis: str=0001.0A782F29.66C334BA.0018,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 96FFF166BA2; Mon, 19 Aug 2024 14:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069045; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=fwNsBQEBq286wXJSmKL31AjfZoYmzEbjKxD54Z+VV8bCzuoh4eDaBvySB7jCNpARxK5y2k ufSVKgDK3KticjiCViSoraQw+K5p+z8R9yAtGuSbtwP3Db525z8XMlYhzYIsYtomPBMuyv on9aV3J3dCW91SR2w1OmWySMw3Fz+AqzCZ4G7X6W95+KvqofrL0HdRUStuXbfgT3Wg9uZV vpuKw4biIKFbSkDLZrEWv1C/fhT7PlxUNZ2zfpoMuCEY3o3XDJjElRPB7inbL3Nng6FPaH NSjdVqGc8mAspZwgQkHyoe8EtC3bsow2XYQVnYuo/pJySY2BOcWm+CFa3rduOg== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Markus Niebel Subject: [PATCH v2 06/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: add missing pad configurations Date: Mon, 19 Aug 2024 14:03:20 +0200 Message-Id: <20240819120328.229622-7-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_050410_982054_B1BB634E X-CRM114-Status: GOOD ( 10.16 ) 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 - add missing (and currently unused) pad groups - assign muxed GPIO pads for X1 to gpio2 node Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxla.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index 9e4fd1eabcfb8..b3db7175cdd43 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -222,6 +222,11 @@ rtc-irq-hog { }; }; +&gpio2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio2>; +}; + &gpio3 { ethphy-eqos-irq-hog { gpio-hog; @@ -524,6 +529,19 @@ &usdhc2 { }; &iomuxc { + pinctrl_afe: afegrp { + fsl,pins = < + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO07__GPIO2_IO07 0x011e + /* PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO08__GPIO2_IO08 0x051e + /* HYS | PD */ + MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1400 + /* HYS */ + MX93_PAD_GPIO_IO24__GPIO2_IO24 0x1000 + >; + }; + pinctrl_eqos: eqosgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ @@ -606,6 +624,28 @@ MX93_PAD_GPIO_IO25__CAN2_TX 0x039e >; }; + pinctrl_gpio2: gpio2grp { + fsl,pins = < + /* HYS | PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO16__GPIO2_IO16 0x151e + MX93_PAD_GPIO_IO17__GPIO2_IO17 0x151e + MX93_PAD_GPIO_IO18__GPIO2_IO18 0x151e + MX93_PAD_GPIO_IO19__GPIO2_IO19 0x151e + MX93_PAD_GPIO_IO20__GPIO2_IO20 0x151e + MX93_PAD_GPIO_IO21__GPIO2_IO21 0x151e + MX93_PAD_GPIO_IO26__GPIO2_IO26 0x151e + >; + }; + + pinctrl_jtag: jtaggrp { + fsl,pins = < + MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK 0x051e + MX93_PAD_DAP_TDI__JTAG_MUX_TDI 0x1200 + MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x031e + MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS 0x1200 + >; + }; + pinctrl_lpi2c3: lpi2c3grp { fsl,pins = < /* SION | HYS | OD | FSEL_3 | DSE X4 */ @@ -639,6 +679,14 @@ MX93_PAD_GPIO_IO00__GPIO2_IO00 0x011e >; }; + pinctrl_mipi_csi: mipicsigrp { + fsl,pins = < + MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3 0x051e /* MCLK */ + MX93_PAD_GPIO_IO10__GPIO2_IO10 0x051e /* TRIGGER */ + MX93_PAD_GPIO_IO11__GPIO2_IO11 0x1400 /* SYNC */ + >; + }; + pinctrl_pcf85063: pcf85063grp { fsl,pins = < /* HYS | FSEL_0 | No DSE */ From patchwork Mon Aug 19 12:03:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768283 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 A4E4EC5320E for ; Mon, 19 Aug 2024 12:10:13 +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=z97hQDsCIiQeQvgBzT5C9odaYU+8ggDam9XAQVeIJCw=; b=Fk6XDHIKIDtUEGv6IVxdWhXrDx RtjxZPrm6aLqjsOQpP0Zxg5qQThXU1jrjN7EdXTzpZ+tDJv18qH4ZLbRWNdoO75zFOaZR7GyoNNsJ A0weq2aqUSteQZQmxpLsbfU6f4U74xoojxqkzQuyndoflehr2gc9r/UufPjSDOxnsGpez3+9vbBXk 3iqfjAlwG3PsxAc+zTIelhGGamesXvxzgWp9aJrexqdxuY8KIQ2qJzZY0rSlnR6AnwamPZmqBUnZ3 q7bQZ/MoFZSYrjt0G5v7OjZbVdKZsboHiJzLMbEHl/cDXXOt0+JfBjUcNwKLMTZWy5utyjENKhJfh BJL2OnAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1D1-00000001NL5-1HtN; Mon, 19 Aug 2024 12:10:03 +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 1sg17P-00000001LEu-42pR for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:17 +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=1724069056; x=1755605056; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z97hQDsCIiQeQvgBzT5C9odaYU+8ggDam9XAQVeIJCw=; b=FBmALhjlreWJRjkCwmJjIPNhH0TCCBHO88ZTeLVENUle0VFvAoZEZciF 57VN17sZ8gfS51nWpLing0HmtezBjJP3ZBJRJXh+xXc2X6ipbtZQprTNd lqGPniQ0F9fx0UbKWyTUuBtjoMYS+yeRaMkRxm7/VFvkyLTAJzPy9Sqjt 0KD5jgOkWm4DTu+jXPQMUCYcv4QllpAd9mDB1WqhS+sxwnp7aG8tXUwqQ Qkihve/uJW7AgmOQqml/78qii2pvdszR3FhiQ/jWf/3hvZl/gX3lHLUxU 0UeIHkMnhqQgnGUPN+7J9FESZKfSOJC/Wpo+Vuqt4LXbuXs6ArxmJDQuA g==; X-CSE-ConnectionGUID: 9ixCO2EhRZ+n7673WklqQQ== X-CSE-MsgGUID: zEq4CvzKSJKrzeoJY5K7iw== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467131" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:15 +0200 X-CheckPoint: {66C334BF-A-78509F09-E532FC2E} X-MAIL-CPID: 57AE9C9B6F318BAE57BCC71B4C2A33DB_1 X-Control-Analysis: str=0001.0A782F1F.66C334BF.0092,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 45FC8167DA6; Mon, 19 Aug 2024 14:04:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069051; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=z97hQDsCIiQeQvgBzT5C9odaYU+8ggDam9XAQVeIJCw=; b=a2nTI0Q9mm6M85yY5iW8SiNCQfL0/JYcIJhvovE669dRiAZx2fkSSEjSsACrXyqZA1m+5X lo7aLl1gmAnYRyf9ilaM4dfuCFYQ6jih+0EkkQtKgpeSS6h3oQ8REjn1AqDlebCFOCUHR2 R9IyRdh95/qzhG8XDsMBXeQFWlGb1/yCIWRsim12VfP0ixlZZBFA1ShBLe0IpjqzD6nOj/ 67D0THtmuv6CIb7FG+XKgg6kT7VTfF7Jpol5GL4ljDOyrc/WYFUEHThsdDbN2ov4ek7bCb Z+H1EvlZctci1ZjJU8KU9MRspI32OxOPHBqsrqwxtC7KzzYkQ9EGqwDDnzMq7w== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH v2 07/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: Add ethernet aliases Date: Mon, 19 Aug 2024 14:03:21 +0200 Message-Id: <20240819120328.229622-8-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_050416_365999_C6856432 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. 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 They are used by systemd to rename network interfaces to predictable interface names, e.g. end0 & end1. Signed-off-by: Alexander Stein Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index b3db7175cdd43..643d006fbf8fd 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -26,6 +26,8 @@ chosen { aliases { eeprom0 = &eeprom0; + ethernet0 = &fec; + ethernet1 = &eqos; rtc0 = &pcf85063; rtc1 = &bbnsm_rtc; }; From patchwork Mon Aug 19 12:03:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768284 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 E5E97C5320E for ; Mon, 19 Aug 2024 12:10:56 +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=0SlXCCw4Mb+wJuWMy9mCBZ3oqJ3u01WKvVCVP+AX2bk=; b=s3M9vs8f9+YbHBt77x6Rk7F+rH 4OpxIS+ddzi4NdF85sdhr2+s44L0fkUv9yPaGoXhb2VTX1f2wAP3i3Arf70ZgxGsUzwcnnO0wLP6o PcqcLAE8HtJuez9iPrGme8fr4gUSvSZbEqnbffDt4dXOBZj6elbax02mNyBDn7ch62tPl7fZvFhRl fRgCFxDIkR6xmsyKJbimf3uErRETFV4rVI8/LiDCqY8yJunxRqjRqfDUKs2MIfvAsnUSkgt74QKuM mb+b5eBt2uaSKqS+gSykXRWfB1lPF/qz+f2N+WQ4dp+AvQlogibKmkS8ZMoROyYZuasNKfRSHoaWF r+FUZmbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Dg-00000001NZc-0Ldi; Mon, 19 Aug 2024 12:10:44 +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 1sg17V-00000001LEu-2mBg for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:24 +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=1724069061; x=1755605061; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0SlXCCw4Mb+wJuWMy9mCBZ3oqJ3u01WKvVCVP+AX2bk=; b=IHmuLZT9kg69G2cqEqSiYl+aArSipyWgxCtNnN4Ek4S/bu9YoZM7ocuz ZtdWH4L+lXRAE4fz8aldfOsOkNOXi6d86cfGtQiKy5PVZX1Amin4TKl48 mSKZMitFKJNrj5Bwo3lO0onfyXvwLjQOPeWzN29bvsZpW/3PXbOAfOr8v jFiT3irKLF1PRPYcIVtnXEdy9Kh4ZXXXja+7CAWTCywyEnZSnZooiJShg 9WfRxtNlea69uCEN31fjEm+gLLbElKHJwTRwq5gFdGLrxwvvZprFHBDwp diNrbnQsd/IQyIPkot3/Q+qsOKHfcamBdRDO8yqaJcQSYiriGfDnnoWa3 A==; X-CSE-ConnectionGUID: B7+aeSK4R3CEr/4qs/fr+w== X-CSE-MsgGUID: Br1r+I6eQVm482yVQYFs9w== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467134" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:21 +0200 X-CheckPoint: {66C334C4-26-FF00FE11-F2A862FD} X-MAIL-CPID: 2425E8545625AC393F4300E139099ADB_5 X-Control-Analysis: str=0001.0A782F1F.66C334C5.0050,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 DC5801688FD; Mon, 19 Aug 2024 14:04:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069056; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=0SlXCCw4Mb+wJuWMy9mCBZ3oqJ3u01WKvVCVP+AX2bk=; b=kmmytZUD1pExS6UZm6J8BMNTV8oQ1tsxKtUUAsE7up9qFT6vbmIJYU1BSijT99lNBuNNwa 4XJ6GCqGYt+tln1SCUMnvH5+/pM7GViDx2xuGEe0u4JyDzSfkH2194wV+VYomItP5yayRr 3MonDSL1G2tUrsyIcbVHQwUFeD0ehyte7mlgxuptA4ebdFbE6SOo4vOjhgOEycXAOVm5rC sLaw2Artak+T66EnXbXMfqjJCwFbJa53kNaJ4LACdGrtzcSTxr0WX0TDsa871/u5lO47Sz 62N6iKeTbz5sVy7qcf6kv5afaWDWhKElyyNO1wjVx0XCLfE7joh7fsYpWjnNgg== 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 , Peng Fan Subject: [PATCH v2 08/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: add GPIO line names Date: Mon, 19 Aug 2024 14:03:22 +0200 Message-Id: <20240819120328.229622-9-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_050422_130162_C9E937FF X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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 Provide GPIO line names for userspace usage, e.g. libgpiod. While at it, correct the line-name property for ENET[1,2]_INT# gpio hog and LCD_BLT_EN. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein Reviewed-by: Peng Fan --- .../freescale/imx93-tqma9352-mba93xxla.dts | 55 ++++++++++++++++++- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index 643d006fbf8fd..3f8726180bba2 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -209,6 +209,16 @@ &flexcan2 { }; &gpio1 { + gpio-line-names = + /* 00 */ "", "", "USB_C_ALERT#", "PMIC_IRQ#", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "BM2_TEMP_EVENT_MOD#", + /* 12 */ "PEX_INT#", "", "RTC_EVENT#", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "", "", ""; + expander-irq-hog { gpio-hog; gpios = <12 GPIO_ACTIVE_LOW>; @@ -227,21 +237,60 @@ rtc-irq-hog { &gpio2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio2>; + + gpio-line-names = + /* 00 */ "", "", "", "", + /* 04 */ "", "", "", "AFE_RESET#", + /* 08 */ "AFE_SYNC", "AFE_DRDY", "MIPI_CSI_TRIGGER", "MIPI_CSI_SYNC", + /* 12 */ "", "", "", "", + /* 16 */ "X1_19", "X1_29", "X1_25", "X1_21", + /* 20 */ "X1_23", "X1_17", "", "", + /* 24 */ "AFE_INT#", "", "X1_15", "", + /* 28 */ "", "", "", ""; }; &gpio3 { + gpio-line-names = + /* 00 */ "SD2_CD#", "", "", "", + /* 04 */ "", "", "", "SD2_RST#", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "ENET1_INT#", "ENET2_INT#", + /* 28 */ "", "", "", ""; + ethphy-eqos-irq-hog { gpio-hog; gpios = <26 GPIO_ACTIVE_LOW>; input; - line-name = "ENET0_IRQ#"; + line-name = "ENET1_INT#"; }; ethphy-fec-irq-hog { gpio-hog; gpios = <27 GPIO_ACTIVE_LOW>; input; - line-name = "ENET1_IRQ#"; + line-name = "ENET2_INT#"; + }; +}; + +&gpio4 { + gpio-line-names = + /* 00 */ "", "", "", "", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "DP_INT", "", ""; + + dp-int-hog { + gpio-hog; + gpios = <29 GPIO_ACTIVE_LOW>; + input; + line-name = "DP_INT"; }; }; @@ -378,7 +427,7 @@ expander2: gpio@72 { #gpio-cells = <2>; vcc-supply = <®_3v3>; gpio-line-names = "LCD_RESET#", "LCD_PWR_EN", - "LCD_BL_EN", "DP_EN", + "LCD_BLT_EN", "DP_EN", "MIPI_CSI_EN", "MIPI_CSI_RST#", "USER_LED1", "USER_LED2"; }; From patchwork Mon Aug 19 12:03:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768295 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 01F1BC3DA4A for ; Mon, 19 Aug 2024 12:12:17 +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=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=vT7aotCN9ptpSo53nHTxUZl/rZ /1qxCGDS7jeKdCLUxiniLIfO9Fc1Wk+dsQ+OI/wreHU0oeZvuGBzybIrblbSf/AJmOW+PpKuRCnjg TsmflryHJCkGslfxK8M7kjvFU2FnEwyC4dC35Us0BtuMlKtD9mc5ZDxXidl3cGdzxMtMMg4Cs0NPn JJKfTXjSxn2lZMy1BVLi3FKBFmzkwNY2Rjq2j1SrqMaE4OmyX7vztT7a68NHyFuLp1ctn2d15LDYP pyiaoMrDVRQ4yAON0rPZbOY4wrq71HjdBJvl5Gr6KBJ2MnLAQrkW371FxBCh3k/SxwRpRbw1ROVjg /+BMVvDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Ey-00000001NsH-3G3E; Mon, 19 Aug 2024 12:12:05 +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 1sg17b-00000001LEu-23tS for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:29 +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=1724069067; x=1755605067; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=Fj5aeiA3KadZzTKxY82hCHGQnPo2WrBX1Iwe00fhuoyofn94A9bxDy2k QytQYL0clztZrMj9t/YGGjlZPV+3tYrQuDhAG52GTJl4QjbWEdDm5NzXx pwMBTOuejgEml71rhHJaya68uOQMN2yUbe5g/X9vOArRM0CydOAt7fJex G5ZA1ND5K3vnSfMF9MmrrsLa0Faq+gUbh6ler5aBT5c6rSoxudq53lQpL NuHrLGakQkgdQh8d3c+tSe3+kZ6YG1MYr0EAkwgTalvc0nFj62MPo5hfJ GOeiAkWI2aSdlOi6eyAaLHn559DHH6DvfxiKAFbWxHMlHylKKTcsFCDKr Q==; X-CSE-ConnectionGUID: baAP0VNPSdWdiAfdXyQxYg== X-CSE-MsgGUID: O3Tu2azIR5aL/ezmq25VHQ== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467141" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:26 +0200 X-CheckPoint: {66C334CA-32-FF00FE11-F2A862FD} X-MAIL-CPID: 83B8667D26F41B82D9FD5CC7456ACBD6_5 X-Control-Analysis: str=0001.0A782F24.66C334CB.0007,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 79CCD1688FA; Mon, 19 Aug 2024 14:04:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069062; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=XZLe8KJJ0aAw8mu1dAlZJK2Npz0T0lkU8JWZjrSyQPDR424wzcsz6zBlw7N23geF6fvJOP nX3iwD1mxKXQyvXJ727JbNlWMmpjti30Q0d5jpAIrjb4zR1aRVJGIUxwCYurmwiJOF4GuC AuZoaHlo1eJG+Q0L8JgYbXXaYsxKZIvzgu8VdXv3ZNTdBuipOeHscMjQ60b/dHFgsZfS9a 8BrldWiQC49wGGmdOESOA5VmhkYJ4ksG5ILB2hZE2mqt4BjLsTAUJAozTYnVIwpnhuxoY2 rX2OC1bUs1Ri7BG5qfyIm/oqW6rRCc6qrtlrG2FuI37w2PdU8isvkKOHJAxpbg== 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 09/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add RTC / temp sensor IRQ Date: Mon, 19 Aug 2024 14:03:23 +0200 Message-Id: <20240819120328.229622-10-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_050427_862158_9AF8E32B X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. 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 The IRQ lines from devices on SoM are connected to CPU GPIO on this mainboard. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index 9673b93ba4702..74e1347e25ea8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -495,6 +495,22 @@ &lpuart8 { status = "okay"; }; +&pcf85063 { + /* 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>; @@ -653,6 +669,12 @@ MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x3fe >; }; + pinctrl_pcf85063: pcf85063grp { + fsl,pins = < + MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000 + >; + }; + pinctrl_pexp_irq: pexpirqgrp { fsl,pins = < MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1306 @@ -665,6 +687,13 @@ MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1306 >; }; + 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 From patchwork Mon Aug 19 12:03:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768296 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 B9782C3DA4A for ; Mon, 19 Aug 2024 12:12:54 +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=0MYz10vhx2r+PKyHVHSxnxKrSy2guPTapKP0q6//jbc=; b=SKDWcQUpISJoieEAAH8uSxfbZh ebTn/2rm8PjtcOmraPjpQQAVaOVIayuEdyVKmZ2vlduKTX4w1tMdzGxYZauYlOAz93IAT8X4pSsCr YTdvXIgW3fiTTCAD5Op8uncdPTzsW/25Zk83GVpzlAYOwQubLah/hkBSEGEx7Ea+FGDd2FNGEk0RP al3fjGCInOj9otHk4FMvEAJK4XmRxQHziKKtWj0ZKgECaHfXvaD6Kubr9ekQ/tjMgDlQeaIiSOBXp BrQ44qDS5Y2rxZEpf/sYOhJH42cR4WBW0kjj4rcd1ssl4IaYiLFhvmNAenXHZG5M4L386ymmDQQ83 tjz/Whbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Fc-00000001Nyh-1KSx; Mon, 19 Aug 2024 12:12:44 +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 1sg17h-00000001LEu-0gMO for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:34 +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=1724069073; x=1755605073; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0MYz10vhx2r+PKyHVHSxnxKrSy2guPTapKP0q6//jbc=; b=EEKJV1PslRZywybC4Rg9BSm7L/YuJrY4hlzXX2CREBL17Yu0MoCKdYne yOZVjbYSsWbzLdb2de/vb2zdoO634ldcReLB61piTeqvx1TzfijHbhlT0 qZ2TO+SVfFc8uzRPkJno1vzOwY4HGoAuVg7KPXD3kKq4/xEKvXVSfQPtl envpEn6P6CpX6raxfwMBWyjC0/+yVXYyvISyntcKRu/Ct7HKnsZisBRYv OQrujpyRIxPz4UJzL1tA/XfHR4SfmyEtrCZldy8QuXDMktWqlgneEflVi zZd/4NfYKdZrfpS3ClcafTOOECizkSlwWU444GYEefpJ7RTyYkujexyAy w==; X-CSE-ConnectionGUID: ejzI5FkpSA2Mj7p5jTH74w== X-CSE-MsgGUID: JPxTA5vFR5KYYhjyKrQf4g== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467145" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:32 +0200 X-CheckPoint: {66C334D0-1A-E9ED6009-C4B0BEC8} X-MAIL-CPID: 5A50B2D19A98CC96D602911C06D7897E_3 X-Control-Analysis: str=0001.0A782F1B.66C334D0.00D9,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 7CFCA166C38; Mon, 19 Aug 2024 14:04:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069068; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=0MYz10vhx2r+PKyHVHSxnxKrSy2guPTapKP0q6//jbc=; b=BUDvJKPapird1y2tJq0yQI8NamLVpbIlKe7P852GZbcXZgLRBOlraPnQlmXlxd/NRmZWPR ymyQHmoEcBgpW0SBhu9Kds+M8aMQRIiSfolBus2aDBipeGgUXyfjYIf0Thi5oE5GhcjeCh IsjTHWNxSChs/2pwQ8b0S7XLh3ziUeJhsknnBgmZGo67Cow3VedyJotyLb8q/Lj5/8FOwi Bu/ENnz9rb+VhVM+AWm9XggKzT9s2npm7+r0NXVHjlnPqgixsshTjt9CC0zZDyaPDAy7LI h+CBqk1bG72iFigJNx52WviJEAayJcAw1r+/L9/ZsdoWX2nAulfxFlejxT3zZA== 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 10/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: improve pad configuration Date: Mon, 19 Aug 2024 14:03:24 +0200 Message-Id: <20240819120328.229622-11-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_050433_595213_684DAB0E X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. 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 - disable PU/PD if already done with external resistors - do not configure Schmitt Trigger for outputs - do not configure DSE / FSEL for inputs Pad config changes suggested by hardware team. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 180 ++++++++++-------- 1 file changed, 104 insertions(+), 76 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index 74e1347e25ea8..c673428a87999 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -575,22 +575,23 @@ &iomuxc { pinctrl_eqos: eqosgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ - MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x51e - MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x4000051e - /* PD | FSEL_2 | DSE X6 */ - MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x57e - MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x57e - MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x57e - MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x57e - /* PD | FSEL_3 | DSE X6 */ - MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x5fe - MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x57e + MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x51e + /* SION | HYS | FSEL_2 | DSE X4 */ + MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x4000111e + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x1000 + MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x1000 + MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x1000 + MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x1000 + MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x1000 + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x1400 /* PD | FSEL_2 | DSE X4 */ - MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x51e - MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x51e - MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x51e - MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x51e - MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x51e + MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x51e + MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x51e + MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x51e + MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x51e + MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x51e /* PD | FSEL_3 | DSE X3 */ MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x58e >; @@ -598,7 +599,8 @@ MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x58e pinctrl_eqos_phy: eqosphygrp { fsl,pins = < - MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x1306 + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x1000 >; }; @@ -606,15 +608,16 @@ pinctrl_fec: fecgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ MX93_PAD_ENET2_MDC__ENET1_MDC 0x51e - MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x4000051e - /* PD | FSEL_2 | DSE X6 */ - MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x57e - MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x57e - MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x57e - MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x57e - /* PD | FSEL_3 | DSE X6 */ - MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x5fe - MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x57e + /* SION | HYS | FSEL_2 | DSE X4 */ + MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x4000111e + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x1000 + MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x1000 + MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x1000 + MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x1000 + MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x1000 + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x1400 /* PD | FSEL_2 | DSE X4 */ MX93_PAD_ENET2_TD0__ENET1_RGMII_TD0 0x51e MX93_PAD_ENET2_TD1__ENET1_RGMII_TD1 0x51e @@ -628,44 +631,54 @@ MX93_PAD_ENET2_TXC__ENET1_RGMII_TXC 0x58e pinctrl_fec_phy: fecphygrp { fsl,pins = < - MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x1306 + /* HYS | FSEL_0 | DSE no drive */ + MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x1000 >; }; pinctrl_flexcan1: flexcan1grp { fsl,pins = < - MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x139e - MX93_PAD_PDM_CLK__CAN1_TX 0x139e + /* HYS | PU | FSEL_0 | DSE no drive */ + MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x1200 + /* PU | FSEL_3 | DSE X4 */ + MX93_PAD_PDM_CLK__CAN1_TX 0x039e >; }; pinctrl_flexcan2: flexcan2grp { fsl,pins = < - MX93_PAD_GPIO_IO25__CAN2_TX 0x139e - MX93_PAD_GPIO_IO27__CAN2_RX 0x139e + /* HYS | PU | FSEL_0 | DSE no drive */ + MX93_PAD_GPIO_IO27__CAN2_RX 0x1200 + /* PU | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO25__CAN2_TX 0x039e >; }; pinctrl_lpi2c3: lpi2c3grp { fsl,pins = < - MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e - MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + /* SION | HYS | OD | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x4000199e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x4000199e >; }; pinctrl_lpi2c5: lpi2c5grp { fsl,pins = < - MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x40000b9e - MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x40000b9e + /* SION | HYS | OD | FSEL_3 | DSE X4 */ + MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x4000199e + MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x4000199e >; }; pinctrl_lpspi6: lpspi6grp { fsl,pins = < - MX93_PAD_GPIO_IO00__LPSPI6_PCS0 0x3fe - MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x3fe - MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x3fe - MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x3fe + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO00__LPSPI6_PCS0 0x011e + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x1400 + /* PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x051e + MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x051e >; }; @@ -677,13 +690,15 @@ MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000 pinctrl_pexp_irq: pexpirqgrp { fsl,pins = < - MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1306 + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1000 >; }; pinctrl_pwmfan: pwmfangrp { fsl,pins = < - MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1306 + /* HYS | PU | FSEL_0 | no DSE */ + MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1200 >; }; @@ -696,92 +711,105 @@ MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x1000 pinctrl_tpm5: tpm5grp { fsl,pins = < - MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e + MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e >; }; pinctrl_tpm6: tpm6grp { fsl,pins = < - MX93_PAD_GPIO_IO08__TPM6_CH0 0x57e + MX93_PAD_GPIO_IO08__TPM6_CH0 0x57e >; }; pinctrl_typec: typecgrp { fsl,pins = < - MX93_PAD_I2C2_SCL__GPIO1_IO02 0x1306 + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_I2C2_SCL__GPIO1_IO02 0x1000 >; }; pinctrl_uart1: uart1grp { fsl,pins = < - MX93_PAD_UART1_RXD__LPUART1_RX 0x31e - MX93_PAD_UART1_TXD__LPUART1_TX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_UART1_RXD__LPUART1_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_UART1_TXD__LPUART1_TX 0x011e >; }; pinctrl_uart2: uart2grp { fsl,pins = < - MX93_PAD_UART2_TXD__LPUART2_TX 0x31e - MX93_PAD_UART2_RXD__LPUART2_RX 0x31e - MX93_PAD_SAI1_TXD0__LPUART2_RTS_B 0x51e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_UART2_RXD__LPUART2_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_UART2_TXD__LPUART2_TX 0x011e + /* FSEL_2 | DSE X4 */ + MX93_PAD_SAI1_TXD0__LPUART2_RTS_B 0x011e >; }; pinctrl_uart3: uart3grp { fsl,pins = < - MX93_PAD_GPIO_IO14__LPUART3_TX 0x31e - MX93_PAD_GPIO_IO15__LPUART3_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO15__LPUART3_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO14__LPUART3_TX 0x011e >; }; pinctrl_uart6: uart6grp { fsl,pins = < - MX93_PAD_GPIO_IO04__LPUART6_TX 0x31e - MX93_PAD_GPIO_IO05__LPUART6_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO05__LPUART6_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO04__LPUART6_TX 0x011e >; }; pinctrl_uart8: uart8grp { fsl,pins = < - MX93_PAD_GPIO_IO12__LPUART8_TX 0x31e - MX93_PAD_GPIO_IO13__LPUART8_RX 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_GPIO_IO13__LPUART8_RX 0x1000 + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO12__LPUART8_TX 0x011e >; }; pinctrl_usdhc2_gpio: usdhc2gpiogrp { fsl,pins = < - MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e + /* HYS | FSEL_0 | No DSE */ + MX93_PAD_SD2_CD_B__GPIO3_IO00 0x1000 >; }; pinctrl_usdhc2_hs: usdhc2hsgrp { fsl,pins = < - /* HYS | PD | PU | FSEL_3 | DSE X5 */ - MX93_PAD_SD2_CLK__USDHC2_CLK 0x17be - /* HYS | PD | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - /* HYS | PD | PU | FSEL_3 | DSE X3 */ - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e - /* PD | PU | FSEL_2 | DSE X3 */ - MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x50e + /* PD | FSEL_3 | DSE X5 */ + MX93_PAD_SD2_CLK__USDHC2_CLK 0x05be + /* HYS | PU | FSEL_3 | DSE X4 */ + MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + /* HYS | PU | FSEL_3 | DSE X3 */ + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e + /* FSEL_2 | DSE X3 */ + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; pinctrl_usdhc2_uhs: usdhc2uhsgrp { fsl,pins = < - /* HYS | PD | PU | FSEL_3 | DSE X6 */ - MX93_PAD_SD2_CLK__USDHC2_CLK 0x17fe - /* HYS | PD | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e - /* PD | PU | FSEL_2 | DSE X3 */ - MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x50e + /* PD | FSEL_3 | DSE X6 */ + MX93_PAD_SD2_CLK__USDHC2_CLK 0x05fe + /* HYS | PU | FSEL_3 | DSE X4 */ + MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e + /* FSEL_2 | DSE X3 */ + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; }; From patchwork Mon Aug 19 12:03:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768297 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 A2AC1C3DA4A for ; Mon, 19 Aug 2024 12:13:36 +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=kx8pIHV6g3mIbA5X/rXCeKoJhLKVkPosxnF36c+xp+w=; b=4ghXUKi8mHtjesiqHvwgcjLH2c m9KHdrpt/UiOhtfdjoJVgTTpgFSlv8TK3xEmhu7AMnePFNWRIg2xmzGv+QYVubP2tIRuTKn78x9Tr DSbCTFo+g+tTsqu65CQgyyWBEw1ydamEQEow77F2UDUFRjoYqGmozUFUngS4AlrXVMQG4cKd2LRLl oB3lCwgW7H6hGyyY61aPcxbbyaHPUAqFSp8Ygq7eh5Jl1GxuLkouRipf/p7BQ2AKn+Turz558F14+ W3oW2QCUE4xTdFpr1oIn1UpKwQIe/pGr/kYEhOuC7g3O/T89YOQpuWFbOPI8xw3o4G4jeJY0GUHPU TUZtiMAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1GG-00000001O9H-16hT; Mon, 19 Aug 2024 12:13:24 +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 1sg17m-00000001LEu-2Ccd for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:42 +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=1724069078; x=1755605078; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kx8pIHV6g3mIbA5X/rXCeKoJhLKVkPosxnF36c+xp+w=; b=XyoGk7qxli4mvZ775DLgmEknvSoH8V5NBfuNTSg08b3CSmJaEgDFOwY4 WAuBXLC6dxAnlUFE8cEURusmneTU9N6rbSA+vNgM3tAiUEfjuPfSJEsZq BUYM37fS9WCR2HsAWGhjy0brKR8+v3CQ6aKgoiB9lwhVOePSrMPVhkL0F 6ingVXHZQ54RlwB3B51Hg+pm9zXZ/ax2XM3GWDWm6OybEWfLS5JGtFGY7 LAVbScoIBJ0jqEYDLKlyC9CiGdD0dgI+DT+LZXUc7qzLKJOwpnwbA8jl6 48l4a5dw3ySjc/7u05ZH7lshjA7RkTD8QGkZA/Wr5ZZkHRjyoZGI7Vd0n A==; X-CSE-ConnectionGUID: 1UZUV1PnQMqYoyIuxZua1Q== X-CSE-MsgGUID: KqcCXsmcR8WUIY3SYEg16w== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467146" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:37 +0200 X-CheckPoint: {66C334D5-2B-FF00FE11-F2A862FD} X-MAIL-CPID: D07DC3652FDC96BA2A46A75103BD2EA3_5 X-Control-Analysis: str=0001.0A782F19.66C334D6.0029,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 DCC4C164E99; Mon, 19 Aug 2024 14:04:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069073; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=kx8pIHV6g3mIbA5X/rXCeKoJhLKVkPosxnF36c+xp+w=; b=MnLvnKwAmZduPPx20YFdHLXm0zy4RES4wkaeCFoVuVPwWfFVz1bYQkJOpwAEMFZ0rpldpU XVpNoTsDkbNbznTBHKcFVt6AA1EfSHJYRUFSosPvUTLwiJQvOmjxBhjPr0qARY0UBQMq1m ZSjfG+IFwzqaHvWShUiYa2Kn+N46YBPi39PM0L0HP5sbiey0E3QI5t4jTYHXdoCQnkwrng nKpmKEwdbrEyGFNaB6PKkTt0Xj5GDno26O5hp6XlExXupAp69yrSUKkKcZQFiCu7jKYUd8 K+bcsfO5GQDkMYjFGJJYDKX5ukPGXInx12drLFzhraq8mW0K4L+isXpeGfPGig== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Markus Niebel Subject: [PATCH v2 11/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add missing pad configurations Date: Mon, 19 Aug 2024 14:03:25 +0200 Message-Id: <20240819120328.229622-12-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_050438_959224_48992C19 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. 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 - add missing (and currently unused) pad groups - assign muxed GPIO pads for X1 to gpio2 node Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index c673428a87999..60b288f89a530 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -289,6 +289,11 @@ tcpc-irq-hog { }; }; +&gpio2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio2>; +}; + &lpi2c3 { #address-cells = <1>; #size-cells = <0>; @@ -654,6 +659,28 @@ MX93_PAD_GPIO_IO25__CAN2_TX 0x039e >; }; + pinctrl_gpio2: gpio2grp { + fsl,pins = < + /* HYS | PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO16__GPIO2_IO16 0x151e + MX93_PAD_GPIO_IO17__GPIO2_IO17 0x151e + MX93_PAD_GPIO_IO18__GPIO2_IO18 0x151e + MX93_PAD_GPIO_IO19__GPIO2_IO19 0x151e + MX93_PAD_GPIO_IO20__GPIO2_IO20 0x151e + MX93_PAD_GPIO_IO21__GPIO2_IO21 0x151e + MX93_PAD_GPIO_IO26__GPIO2_IO26 0x151e + >; + }; + + pinctrl_jtag: jtaggrp { + fsl,pins = < + MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK 0x051e + MX93_PAD_DAP_TDI__JTAG_MUX_TDI 0x1200 + MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x031e + MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS 0x1200 + >; + }; + pinctrl_lpi2c3: lpi2c3grp { fsl,pins = < /* SION | HYS | OD | FSEL_3 | DSE X4 */ @@ -688,6 +715,14 @@ MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000 >; }; + pinctrl_mipi_csi: mipicsigrp { + fsl,pins = < + MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3 0x051e /* MCLK */ + MX93_PAD_GPIO_IO10__GPIO2_IO10 0x051e /* TRIGGER */ + MX93_PAD_GPIO_IO11__GPIO2_IO11 0x1400 /* SYNC */ + >; + }; + pinctrl_pexp_irq: pexpirqgrp { fsl,pins = < /* HYS | FSEL_0 | No DSE */ @@ -709,6 +744,13 @@ MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x1000 >; }; + pinctrl_tc9595: tc9595-grp { + fsl,pins = < + /* HYS | PD | FSEL_0 | no DSE */ + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1400 + >; + }; + pinctrl_tpm5: tpm5grp { fsl,pins = < MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e From patchwork Mon Aug 19 12:03:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768298 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 235DFC3DA4A for ; Mon, 19 Aug 2024 12:14:16 +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=Kk2j9StN4AZLZf0NCG5Rh0FIZy+v2TXllMl8suxny4s=; b=j8VUIF4yEArRWGMatfIYW8f9EZ AUVMdM/AAvp8110EmFPsvSQMV7L9Cs2QwZ783KY8LaPsrqS12DqYWhIMTvuO4ln/8jXekeFyi7um5 eXJn+GuhY+bH9dLLx7IZKkNdgbC3tExdWr7w5tpsaf/x7D7t4zDoJ+ijtz/vYZdBs3U71eQlmK0zR ziCj77d8tnH30Xbc9M+WB17IojyOQcG8VXsSTS2MFy5njVZq4uR0LyHLRQITR4plmNlv+eQ2Uh6Lu M4qclrkPq6wN5cx2Sh5tvtRNOiMlYd3ZjUtDXj/qKrUrj86zIG6A73r6fds4I3lsK0x4sByjlHc4+ xg8gEfqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Gv-00000001OLL-24Av; Mon, 19 Aug 2024 12:14:05 +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 1sg17s-00000001LEu-0bXr for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:46 +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=1724069084; x=1755605084; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Kk2j9StN4AZLZf0NCG5Rh0FIZy+v2TXllMl8suxny4s=; b=VP9dMiQepkiBTMnoDvm1D7qclOhldmvxlVyoTPjblQRmPEPWX6A6W+m5 K2EFFHYTFGMS6Lf8cYfC3x2zBnXwRjyLaprKKqOTUgyhkQwsSxg7jssuZ wOj7z+fS8dkgB0YSrVWAlHPnfUVNHxRljVWw2rfmBT1MQzGq3qu4Illou FO2xAMZrIVOMaPP+NlaWo3wY82O7bXa4fY3WKkyexEXlTQT3o6RXHPv/I dW/KBHyUgjMT86CRxBjcDBd9fvpubGBpDMSRD5hKN5Pb2QDoIcsSl2y7M 3qTY7eBaBGvuwfxlu4BZRCyIdGurs0DlXsfO0/wc+Gy6qf2ERl1khYbxA w==; X-CSE-ConnectionGUID: P2zGBtMNRf2HHK95zxKnXQ== X-CSE-MsgGUID: 0OWxnzluR7aX8MPPmQslvA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467150" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:43 +0200 X-CheckPoint: {66C334DB-11-FF00FE11-F2A862FD} X-MAIL-CPID: DF22968BBA2747E32084513EDD9308FC_5 X-Control-Analysis: str=0001.0A782F19.66C334DB.00D2,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 5980F167F5F; Mon, 19 Aug 2024 14:04:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069079; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Kk2j9StN4AZLZf0NCG5Rh0FIZy+v2TXllMl8suxny4s=; b=IEA0YOSYm3upuhMcwEjhdilXEhPDoUmrkbVykReFSWLs/l19slk1nj3/v3i3ikA/94in6U zesmSDZN2PFO5eEfJytV6iC8E0EYJ/SRl6IEffbvaxZYCPPjShtOmleFC8QkMNhgfVryZ+ l78d9I3zR6Fqz81MdHgToHk2Tjv92vCQJjzqehr7cQmmBHL5dULU6dK8mSHFeeRfJ0QP4J 111AUm65f8bGlJLUJ/VkB8zalItOhCKrrjQ8+nQCrFyT7EVBaCsT5AS+NYTwYhDZ4fXVDH 6+NGylJoskKRGl7IA45CC0Y/+q1c/LcfOLnM+ImMJW0ewzU4cpZvLUqes1pP0w== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 12/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: Add ethernet aliases Date: Mon, 19 Aug 2024 14:03:26 +0200 Message-Id: <20240819120328.229622-13-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_050444_536590_445CDC31 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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 They are used by systemd to rename network interfaces to predictable interface names, e.g. end0 & end1. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index 60b288f89a530..b4795e2e2ebf7 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -26,6 +26,8 @@ chosen { aliases { eeprom0 = &eeprom0; + ethernet0 = &fec; + ethernet1 = &eqos; rtc0 = &pcf85063; rtc1 = &bbnsm_rtc; }; From patchwork Mon Aug 19 12:03:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768299 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 53F44C3DA4A for ; Mon, 19 Aug 2024 12:14:57 +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=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=3l9Zy13gYPCIuY5AE19EcGCmlP iYkL194nzCMZvZaobBg8NXwrV1fvbCCvSafKJUj8xMi8sGrfVc8tre+up8zUb03oH+j2wCa3/eoDg XA1BDvMjf91QfiPKmQ1gL83mfk5sKcqARhu/hBm3zoP+XD9h4US2+Mw+h0LGh4yMGEM3hFZJmBebo ui1Tok/4kwzbKtAFm4QmqS85f+y9R7kZK8kHevNzywkVk68r3L3WTsYMD2GAmutF/yR7OJ9h/3xeh yKp46oeRCKLJMSCLYc9xFzl9Tpw1LOBzKOjvDprDrNskEtFGcwhCeSzHqtt9tKVxEx42jZFh8wySP wEvKqjrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1HZ-00000001OTj-1v2d; Mon, 19 Aug 2024 12:14:45 +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 1sg17x-00000001LEu-2itq for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:55 +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=1724069089; x=1755605089; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=ipTiGm5rOJdtq/mbAF7aT1i+gcS5ra6EuHaeI0pBiFWi2SAJseaQEGt0 +kyc7Kkgn2Wf4YJ1yn7aKyExFsB8ARYanopWUbXjYfnr5SKjNL+OoGW26 jaBiT6Vu5YF+52QsezzqH7tJudL8Z4HrELZCScEnXNbMV/PrVgEzt7A0H Y1Rv53y3ADtW30Z452VmdSfBGzjELXVT0i//eYopxW+WwVZLaeNtj09Q2 3OqejT7hiyJUp6C5dKXrP9z/+V57g5WZfP1R88fiSCJQlV7wzL3V+W6rB xGbpWuQd0XRyGVc/lx02HZzLLd85L8OwYsHx7cv60PE7TdQsE/hMrJW3F A==; X-CSE-ConnectionGUID: Y5ngiW8LTnersZCIJq6OBg== X-CSE-MsgGUID: GJ0HdLmGSACHgDAQOtqeNA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467153" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:49 +0200 X-CheckPoint: {66C334E1-0-751552D8-F91D2344} X-MAIL-CPID: 5F20051A3F2FEB06FF0870AB16C464CF_4 X-Control-Analysis: str=0001.0A782F19.66C334E1.0025,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 D726D168925; Mon, 19 Aug 2024 14:04:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069084; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=tTr4+WSvZu45Soym4JcRsunP6IeUx7sGkesqzBtJgeqbo//ZNQBlTKkbNlM+zYnusAIy6M YJ6g6DEN977CLPIPEHt2AJJ4OrY4y8Nf7qgHDjN7uXMAPJYCHR9YzmcbGjsvIQlBKbZ2bZ 1RSN33Kn0JL5CIODj57NfZegRwwv27x2NqDREJzS/6n8C9ZNIjSYq65VZEWu/R+cb6PBB9 XpjmIfoqE1tSImY3pJRUZE+V6f5dh4wqpiI5grBTwZoo5C3xk+iVKHnYEDj67Juoy2HSf3 DFzX0Dm50ApGbflVW80RFsK2II+6GmnfeupWm1ibVaVudjJEiv4M41YWcaZFTg== 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 13/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add GPIO line names Date: Mon, 19 Aug 2024 14:03:27 +0200 Message-Id: <20240819120328.229622-14-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_050450_217119_F117A5D2 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. 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 Provide GPIO line names for userspace usage, e.g. libgpiod. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index b4795e2e2ebf7..79b9f13de4af5 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -276,6 +276,16 @@ &flexcan2 { }; &gpio1 { + gpio-line-names = + /* 00 */ "", "", "USB_C_ALERT#", "PMIC_IRQ#", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "BM2_TEMP_EVENT_MOD#", + /* 12 */ "PEX_INT#", "", "RTC_EVENT#", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "", "", ""; + expander-irq-hog { gpio-hog; gpios = <12 GPIO_ACTIVE_LOW>; @@ -294,6 +304,40 @@ tcpc-irq-hog { &gpio2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio2>; + + gpio-line-names = + /* 00 */ "SPI6_PCS0#", "", "", "", + /* 04 */ "", "", "", "", + /* 08 */ "", "FAN_RPM", "MIPI_CSI_TRIGGER", "MIPI_CSI_SYNC", + /* 12 */ "", "", "", "", + /* 16 */ "X1_11", "X1_21", "X1_17", "X1_13", + /* 20 */ "X1_15", "X1_9", "", "", + /* 24 */ "", "", "X1_7", "", + /* 28 */ "", "", "", ""; +}; + +&gpio3 { + gpio-line-names = + /* 00 */ "SD2_CD#", "", "", "", + /* 04 */ "", "", "", "SD2_RST#", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "ENET1_INT#", "ENET2_INT#", + /* 28 */ "", "", "", ""; +}; + +&gpio4 { + gpio-line-names = + /* 00 */ "", "", "", "", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "DP_INT", "", ""; }; &lpi2c3 { From patchwork Mon Aug 19 12:03:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768300 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 E3539C5320E for ; Mon, 19 Aug 2024 12:15:34 +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=JumtuzK8XLrkvwXQmvob2btUs9cZwoIh8escPZtwZ2M=; b=kgL6rygtkTYJEgA0YTJdTtm3T0 ab//06rjlYi9Qmxq/Y/fGxH6tCIGxPbsEKvJAdFlOIGI15lxxOQ6r2B7yc4e8tGEPk36AMz9mNJlE CKnZhILM+TU6BA2pGhLax9WWzaztzQdC2c2FyukGDEInxwakWZaHsI5QYz2BpaOE8pVX4m/PvSgup 4g9b9PzRT1qmAZ5k0URaJV5QCVr64JWpP7ALc1dk3ocY71b2IjWZqHUwQQsvPzdMHevmmbZFPdMV7 xWz9CJ2QlnnOoBS54ZfYVv+77sOY/rhkZJa4lEPF5BrEHbjvmoOXY+ESOlCxRKivYjIKFlW9urT5y S+nt5L+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1IC-00000001OYc-1BuD; Mon, 19 Aug 2024 12:15:24 +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 1sg184-00000001LEu-0F8E for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:58 +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=1724069096; x=1755605096; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JumtuzK8XLrkvwXQmvob2btUs9cZwoIh8escPZtwZ2M=; b=CzBkwdWOD8Qoe+fT9JUnhvbx8pp9fs1Jzw9Msd+LjlmIkLJlJ4l4FthU HOYN4eb1wYtTPTX9CLoFmbXRy8DT3TMK9nMsR301jkoVJww1dh1HSqe8U WvwmAUysGWgGR9L2QOIYs175ciASGDhZSjwwMlNEt7KqLn0/w8tst6lBm wKevSLD/EXTYQW1s3rtM8hKvpgkM3lLX/lbRtdtt8TWg0VN1Nfu8QBbCN LUg6RQ1FTe679lsZmhHUxLTmglctR556VHlpTAxXfx/55g0F32p51G5uB dwnFqZ6b1pWmddU5rK6lAhetiDpTFYDbAp2owN6q408vSk98Q6LhsKmdG A==; X-CSE-ConnectionGUID: H6ylRNp4QGOYzmWAkP3+0g== X-CSE-MsgGUID: /m5zX0iyQGO0UST+0rz0jw== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467155" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:55 +0200 X-CheckPoint: {66C334E7-2-2C7A84BB-EFCBC4CF} X-MAIL-CPID: 044AA1D7A1F585426253344FFDE0D044_2 X-Control-Analysis: str=0001.0A782F1D.66C334E7.0043,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 E89D9168943; Mon, 19 Aug 2024 14:04:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069090; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=JumtuzK8XLrkvwXQmvob2btUs9cZwoIh8escPZtwZ2M=; b=Ptm6UHb4n6hSq52LmHYASzQjRBZxZRJAtJTo7UGhEDQrTng0PUUyYiyQNjk1wIIK83r5Kg zG4tp2T8xcIPT9NeYTPwoc0TKjYvYiWN4WlXOK8iUrMHieP6fCDKYCcKU/eRyxZTxPF819 tjDJQ3cH4zdzwP7Ss+57zqaYdXxp4lqmOebSlaKTD8lHrWU69YYmTH27eb83R1Q3MX3B79 Dzc0za5d4h+FxxZNbo/WWNsj1vXdy7IQTJIaiHcABI5p+kPfEf5kIou1tRGzBu4oMV5ioh kijTElMn04Ez2vZpykSA3Q2zq4RfQJqWw3Vah0DKfwZBNTDy+9DN4Awy8nV5cg== 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 14/14] arm64: dts: freescale: imx93-tqma9352: set SION for cmd and data pad of USDHC Date: Mon, 19 Aug 2024 14:03:28 +0200 Message-Id: <20240819120328.229622-15-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_050456_485782_A387A0C1 X-CRM114-Status: GOOD ( 12.80 ) 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 imx93 pad integrate has one issue, refer to ERR052021: ERR052021 uSDHC: Sometimes uSDHC does not work under VDD_SOC low drive mode and nominal mode Description: uSDHC PADs have one integration issue. When CMD/DATA lines direction change from output to input, uSDHC controller begin sampling, the integration issue will make input enable signal from uSDHC propagated to the PAD with a long delay, thus the new input value on the pad comes to uSDHC lately. The uSDHC sampled the old input value and the sampling result is wrong. Workaround: Set uSDHC CMD/DATA PADs iomux register SION bit to 1, then PADs will propagate input to uSDHC with no delay, so correct value is sampled. This issue will wrongly trigger the start bit when sample the USDHC command response, cause the USDHC trigger command CRC/index/endbit error, which will finally impact the tuning pass window, espically will impact the standard tuning logic, and can't find a correct delay cell to get the best timing. This follows changes made for i.MX93 EVK with commit bb89601282fc ("arm64: dts: imx93-11x11-evk: set SION for cmd and data pad of USDHC") Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 22 ++++++++++--------- .../freescale/imx93-tqma9352-mba93xxla.dts | 22 ++++++++++--------- .../boot/dts/freescale/imx93-tqma9352.dtsi | 19 ++++++++-------- 3 files changed, 34 insertions(+), 29 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index 79b9f13de4af5..599df32976e24 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -870,32 +870,34 @@ MX93_PAD_SD2_CD_B__GPIO3_IO00 0x1000 >; }; + /* enable SION for data and cmd pad due to ERR052021 */ pinctrl_usdhc2_hs: usdhc2hsgrp { fsl,pins = < /* PD | FSEL_3 | DSE X5 */ MX93_PAD_SD2_CLK__USDHC2_CLK 0x05be /* HYS | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e /* HYS | PU | FSEL_3 | DSE X3 */ - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000138e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000138e /* FSEL_2 | DSE X3 */ MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; + /* enable SION for data and cmd pad due to ERR052021 */ pinctrl_usdhc2_uhs: usdhc2uhsgrp { fsl,pins = < /* PD | FSEL_3 | DSE X6 */ MX93_PAD_SD2_CLK__USDHC2_CLK 0x05fe /* HYS | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000139e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000139e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000139e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000139e /* FSEL_2 | DSE X3 */ MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index 3f8726180bba2..0b4b3bb866d06 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -832,32 +832,34 @@ MX93_PAD_SD2_CD_B__GPIO3_IO00 0x1000 >; }; + /* enable SION for data and cmd pad due to ERR052021 */ pinctrl_usdhc2_hs: usdhc2hsgrp { fsl,pins = < /* PD | FSEL_3 | DSE X5 */ MX93_PAD_SD2_CLK__USDHC2_CLK 0x05be /* HYS | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e /* HYS | PU | FSEL_3 | DSE X3 */ - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x138e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x138e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x138e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x138e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000138e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000138e /* FSEL_2 | DSE X3 */ MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; }; + /* enable SION for data and cmd pad due to ERR052021 */ pinctrl_usdhc2_uhs: usdhc2uhsgrp { fsl,pins = < /* PD | FSEL_3 | DSE X6 */ MX93_PAD_SD2_CLK__USDHC2_CLK 0x05fe /* HYS | PU | FSEL_3 | DSE X4 */ - MX93_PAD_SD2_CMD__USDHC2_CMD 0x139e - MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x139e - MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x139e - MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x139e - MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x139e + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000139e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000139e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000139e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000139e /* FSEL_2 | DSE X3 */ MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e >; diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi index 48ba60832eb3e..2cabdae242273 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi @@ -270,6 +270,7 @@ MX93_PAD_SD2_RESET_B__GPIO3_IO07 0x106 >; }; + /* enable SION for data and cmd pad due to ERR052021 */ pinctrl_usdhc1: usdhc1grp { fsl,pins = < /* PD | FSEL 3 | DSE X5 */ @@ -277,16 +278,16 @@ MX93_PAD_SD1_CLK__USDHC1_CLK 0x5be /* HYS | FSEL 0 | no drive */ MX93_PAD_SD1_STROBE__USDHC1_STROBE 0x1000 /* HYS | FSEL 3 | X5 */ - MX93_PAD_SD1_CMD__USDHC1_CMD 0x11be + MX93_PAD_SD1_CMD__USDHC1_CMD 0x400011be /* HYS | FSEL 3 | X4 */ - MX93_PAD_SD1_DATA0__USDHC1_DATA0 0x119e - MX93_PAD_SD1_DATA1__USDHC1_DATA1 0x119e - MX93_PAD_SD1_DATA2__USDHC1_DATA2 0x119e - MX93_PAD_SD1_DATA3__USDHC1_DATA3 0x119e - MX93_PAD_SD1_DATA4__USDHC1_DATA4 0x119e - MX93_PAD_SD1_DATA5__USDHC1_DATA5 0x119e - MX93_PAD_SD1_DATA6__USDHC1_DATA6 0x119e - MX93_PAD_SD1_DATA7__USDHC1_DATA7 0x119e + MX93_PAD_SD1_DATA0__USDHC1_DATA0 0x4000119e + MX93_PAD_SD1_DATA1__USDHC1_DATA1 0x4000119e + MX93_PAD_SD1_DATA2__USDHC1_DATA2 0x4000119e + MX93_PAD_SD1_DATA3__USDHC1_DATA3 0x4000119e + MX93_PAD_SD1_DATA4__USDHC1_DATA4 0x4000119e + MX93_PAD_SD1_DATA5__USDHC1_DATA5 0x4000119e + MX93_PAD_SD1_DATA6__USDHC1_DATA6 0x4000119e + MX93_PAD_SD1_DATA7__USDHC1_DATA7 0x4000119e >; };