From patchwork Wed Dec 6 14:41:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 175191 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4832263vqy; Thu, 7 Dec 2023 06:50:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqY0LwwygEjdHVghVcjDBWnQ3W9ENXtf0X6NO6nO8Rz6JsRA0+g8rEMzahO7xBlYCm1YP1 X-Received: by 2002:a17:90b:3c4c:b0:285:cc9c:75f8 with SMTP id pm12-20020a17090b3c4c00b00285cc9c75f8mr2646558pjb.1.1701960643964; Thu, 07 Dec 2023 06:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701960643; cv=none; d=google.com; s=arc-20160816; b=EoaL7iD2X3DH9yhhyzXF/Gpfd1g0XdB08KWOEhyxrd38WI0Mom3Bjtm2xS0GzSrHOk e/xpNceDIBk4hSEUH13eMCr4PYj4YGbvTNvmcWES9A7Mhqq4tjR6IN5LLbh3fJK/mt2V mKmFkjc4djDiehe9F3vI3sd01rC54zd209gA5Osvs4PgmkpmgGvn5x4Spo+23DEd2t+g 60eWSJVuY7H3eZrz6oKLoozwjANJJt7rX5rYjic4QRYTLNrCzc8hygk0iZMgx5ZV0w4L +gzJmvL1CaH+auRlLciVedtN0mJrSKehcQV8tOAb4JWGs2fQPBTrODV3GDR5vmsw58yO kD+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=43HCmKNvhTMgU+tmRX/01rhcuMtpJdHFx7eklJmzHm8=; fh=mWDe8CjyAdhhjLFVNrKsiT00acIg4QHc0YGM2tZgom8=; b=EOIGPRcwwmXvq/VX3JOzANLAPJ/xpG5SiZWxpPpK2XPGKfZRKuX/VI5FQDFqn7EKzN 2n6z+k9aBjcVv5wgFhXLFPXS1m2lfBvksqJ5VNHbjMJ4nhgUVjjRfgEzNdjOmbZaJnxG k2Hn16tDSMfiYcf/1WwkN1OZ9L0FBiWHaqZjUleif4tXH1KB7y3zXAPdw1usfLbfubAp 1Vh8N43VFUZ5YooYSFOUALVUDespKQSeHOre92cweBEaJaojjue5Qxgc5X8/H9Na6Y83 t4mtwjxdHkEXukP3UVE2lp/6U32Uh6XxF4x4s1nWaAJNpO0odhcDWItyi2Vncv32vXc1 /Y8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=RI54nktl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id c24-20020a170902b69800b001cf677b6c20si1222138pls.594.2023.12.07.06.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:50:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=RI54nktl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6CD7D802B163; Wed, 6 Dec 2023 06:44:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379004AbjLFOot (ORCPT + 99 others); Wed, 6 Dec 2023 09:44:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379103AbjLFOoj (ORCPT ); Wed, 6 Dec 2023 09:44:39 -0500 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD75110C4; Wed, 6 Dec 2023 06:44:40 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D93BBBFD15; Wed, 6 Dec 2023 15:44:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701873879; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=43HCmKNvhTMgU+tmRX/01rhcuMtpJdHFx7eklJmzHm8=; b=RI54nktluwH01eTYEPAlbBa+uvOJLEBu65gCH8UuXjmE7TbUgqT7ITwyB11tBhfAtzVzLf BaQv4d/oXWau6cTDr1vgn9YzxMFNuBXTn5P9xOQXPtSPowCXrsm2yJdTtpo2WEHvQTyJWt esY5K4JUzityIKFAMJ+Qbmr1eUNG+174urOnAWKHITf8axSRAHvISvLoEmMlbkvfYvpPSC GVK3zdmSO+YOkThh1IWyhuAI1hX0Llbp3OWf9YCleqUJ+yp0oRnNKYac1zcvG04k2zXRV7 BFvSnYHoy7KCkiEJDmwj2x5jg26sib+GCPnLCijIUJ5f2AoLKj34VbenR1brMQ== From: Frieder Schrempf To: Conor Dooley , devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH v3 08/14] arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board Date: Wed, 6 Dec 2023 15:41:11 +0100 Message-ID: <20231206144201.46911-9-frieder@fris.de> In-Reply-To: <20231206144201.46911-1-frieder@fris.de> References: <20231206144201.46911-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:44:59 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784635084161280226 X-GMAIL-MSGID: 1784635084161280226 From: Frieder Schrempf Some signals have external pullup resistors on the board and don't need the internal ones to be enabled. Due to silicon errata ERR050080 let's disable the internal pull resistors whererever possible and prevent any unwanted behavior in case they wear out. Fixes: 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Signed-off-by: Frieder Schrempf --- Changes for v3: * none Changes for v2: * none --- .../boot/dts/freescale/imx8mm-kontron-bl.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts index 767012661bfca..01722ab25392d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts @@ -476,40 +476,40 @@ MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x19 pinctrl_usdhc2: usdhc2grp { fsl,pins = < - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x90 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 + MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xd0 >; }; pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { fsl,pins = < - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194 + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x94 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 + MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xd0 >; }; pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { fsl,pins = < - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196 + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x96 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 + MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xd0 >; }; };