From patchwork Mon Jan 8 08:49:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 185847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp899304dyq; Mon, 8 Jan 2024 00:52:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUbdsT5TgSg7pmsClTHleEqPEow18LKokChwKoQC/doNv83pjJaRvbaEUvpJwISZgW/o+t X-Received: by 2002:a17:906:4f8f:b0:a28:9546:f92a with SMTP id o15-20020a1709064f8f00b00a289546f92amr2956035eju.67.1704703920836; Mon, 08 Jan 2024 00:52:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704703920; cv=none; d=google.com; s=arc-20160816; b=Wm7eQFuznMeOr3NOtZWP/QcIA7QtmyJxdEI2BKaU+eV8/IE2owZBR1p6oJTIIaYg4T uc/bhlZXu4fTNx5rOaWMC66/QrFmyeQ+fBRiaQabyWC0+e4S3BrUlgxK/nYsnxJsYjhC J7h/2REZQDJj2+T6YLnKn3ExElhITQ2go6++RBBtraKROca3pfWHxKCeC5ggrNYXET1j FMMXRSQGXvr7se+hJEpAWT02RRif30OCoSC+NiZQtcdu3jYpX4SOq9adzTho6o+iACEt Sq4pOmasRGCyMRx0RmoWNIY1DMfBvQldTaUX/E2Z7ZDBB/jlI0/APDFaRiLalWiwpITf o5uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hAu4/xuLsSrHwTANNA7s3QmXGy5YS+glepKpDYXmA5o=; fh=mWDe8CjyAdhhjLFVNrKsiT00acIg4QHc0YGM2tZgom8=; b=YKeZIdCJe/rOe78Q0Q16SErxvuo1x7okbDwUP7h25+4RwtInNJI6d6ujh48Z8aKj2a C65SsfkHlzsoNVUyvPYtCzU/8IkY4ip5BHjTtdXn7VSzRa3JWUsp1Wklq/CT/VuzSkXw yxRKileS6qsyiqI6NOxDDeNf9X+8Dbyid1n0fjdOsApeHnW+ZFUdGNRb7LWpECzkNBod JH22LlBEP0LNwEI/tyJhNLWC24ze7edbeALYcSOm1BW9vvlirjb5vE99aecfGW0hhx1k bf9W5U63VouX/CWakZftGgt03Ui7TYX+8tucy3l2LRIYP0WUNBkbA6tqsymXY08PaG9G QRTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=HY7aW8CR; spf=pass (google.com: domain of linux-kernel+bounces-19205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kh13-20020a170906f80d00b00a28fb24aae2si2802223ejb.922.2024.01.08.00.52.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 00:52:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=HY7aW8CR; spf=pass (google.com: domain of linux-kernel+bounces-19205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2C2E61F220DD for ; Mon, 8 Jan 2024 08:52:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93677125C1; Mon, 8 Jan 2024 08:51:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b="HY7aW8CR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.fris.de (mail.fris.de [116.203.77.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64368C128; Mon, 8 Jan 2024 08:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fris.de Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E1E1CC00FC; Mon, 8 Jan 2024 09:51:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1704703880; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=hAu4/xuLsSrHwTANNA7s3QmXGy5YS+glepKpDYXmA5o=; b=HY7aW8CR8LLjsp2yGutQpI5YdALu3v4tLFR0MwdOMHuHjDH8FOSF+Smre+gSif4ce5tFF2 cKvrpleBMbOLr8ttZC4ENnKLeu9m0Ttk0sg+sR2Hal6MQKapuB5UsVDdq6KsnbON2DDvfj 6oVnhZfNQQsXZNR1gw8rroB1EH3L0pKH3PxX71fa+PiqCETV2Sbv4YFHxyHOSnBiuNrmCx G89WZLXtP7AohZNRKWW05MCObfPDG4Hk2L4ope57SswrD5aaKfRohklcbVKCkIOwpmzI2U sRdjZgyyEoBvPZT5peKj2DcgahLrOQdorsL9H0+z4MY/Cr9XapDvLA5kIx/kbQ== 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 v4 06/12] arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board Date: Mon, 8 Jan 2024 09:49:03 +0100 Message-ID: <20240108084945.75356-7-frieder@fris.de> In-Reply-To: <20240108084945.75356-1-frieder@fris.de> References: <20240108084945.75356-1-frieder@fris.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787511618662861517 X-GMAIL-MSGID: 1787511618662861517 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 ee93db11c0d06..aab8e24216501 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts @@ -316,40 +316,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 >; }; };