From patchwork Thu Nov 30 16:16:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 171980 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp506162vqy; Thu, 30 Nov 2023 08:19:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMfRaYYlrqKjapvfXzm72eVsVZ7IKHakGUfx9ia+4U10WJLVX+qo72Ee1QTXuh9nm40/TZ X-Received: by 2002:a17:90b:4a11:b0:280:3911:adfe with SMTP id kk17-20020a17090b4a1100b002803911adfemr20618510pjb.39.1701361144128; Thu, 30 Nov 2023 08:19:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701361144; cv=none; d=google.com; s=arc-20160816; b=RmKTc9yAYX4EvR9bdpahJ+XIvUlvLaRl8Msdmg3ebFfW7xFpkKDTOMQvBtLrBnLjrD opAv0hyMia1IwdijGAKuCVjEARYwcn+iHgv0+47Xddvf+KPcN4tXSRH8L2FX/GCjsnLH LA5cQMFcvSEwCBe4hmhMpy9raXNHFnJ4mf1zOrWjlPPZd3NeOfxSOasL1rYypQC2JYg/ 3zLB3HYlZ76fuXsJ62qSeMPfYmVtJBY8CvYJ3/rkqcqOHH9eYOfXhOmDJToKVt3C/air wWxQx3HEVVeZK1h4O5TemFZW1j+6wwKVJRf9XTZIjnZ+mX2dTClnb8tvjnlPGViLpYAR kvcQ== 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=yTILABmjrRzxd4BiyZ/RTjW9onr6Z125M0Mod5/VAOE=; fh=mWDe8CjyAdhhjLFVNrKsiT00acIg4QHc0YGM2tZgom8=; b=yP8W7yOh+W6S2WJUp12cbECrOcYvPJPYMRHrr+lo2hIhp0G5xp88UpDJ/ub6879jTZ yfXDg4Z9EoUPTcfpmi2C38LUkjRK2T3RKJAQ3APlBxYpnAJBKyE8DUeuxkRYxYzaJHxT 6f0Wt3A/KijNx2RLQTpLWmY+DfVKQ1Qnx1ppQnVCLLM8AogscaA3HHlftqne5A3Nbe5F LJsEQOWuA8nSheekNL1oEEdbKr3BR9DRrP1SOuCiMyquCXqiCFihSfLvudrc3eQZCcM6 YWsBVALQ70aTu7EO8lQpSUuX/WCJIjriIdshN/4EwqowVetBmtV2vdY2D/u06VYODqK2 PS5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=QFR1+jxR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mf6-20020a17090b184600b00280a4766eabsi1749803pjb.114.2023.11.30.08.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:19:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=QFR1+jxR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 017B480D31F8; Thu, 30 Nov 2023 08:19:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232245AbjK3QSt (ORCPT + 99 others); Thu, 30 Nov 2023 11:18:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232211AbjK3QSg (ORCPT ); Thu, 30 Nov 2023 11:18:36 -0500 Received: from mail.fris.de (mail.fris.de [116.203.77.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC9D1A4; Thu, 30 Nov 2023 08:18:42 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 33284C027B; Thu, 30 Nov 2023 17:18:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701361120; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=yTILABmjrRzxd4BiyZ/RTjW9onr6Z125M0Mod5/VAOE=; b=QFR1+jxR3q32TFtUE6PXMfEwsyqvEMsXfliSPq772ER3IZ+7SQclkdfDKtrtedXXlEOVq7 F5HHlO6eDDwYF9RNJLAUFYv++O6fCXbS1RXCFhBq1obs6USUHWkfrScR6vhEgKsI9NGWR6 3QPiMcjXTm3bLMYAAgz0Sj91R0MZQPhIvHLsA1O9+IntPAc+hxuRsZl4NgnxXxKFMGf7aZ mL2BIoUnZivk7aQSAquRPGA8CZ4OC3EG8lL0YMCcboVcEdTiJIJvOwgu7oW/g0CYAODMu/ v5bWDXdXeBInAkiw/sFuecLleC2wy4ogsncYOM7jbPXaxu4tY/+ltBos12yARQ== 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 v2 04/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM Date: Thu, 30 Nov 2023 17:16:04 +0100 Message-ID: <20231130161657.556483-5-frieder@fris.de> In-Reply-To: <20231130161657.556483-1-frieder@fris.de> References: <20231130161657.556483-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:19:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784006463244659181 X-GMAIL-MSGID: 1784006463244659181 From: Frieder Schrempf There are external pullup resistors on the board and due to silicon errata ERR050080 let's disable the internal ones to 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 v2: * none --- arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts | 4 ++-- arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts index 0fb16b811461e..6d0c3d7e1d103 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts @@ -430,8 +430,8 @@ MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x40000083 pinctrl_i2c4: i2c4grp { fsl,pins = < - MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3 - MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3 + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x40000083 + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x40000083 >; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi index 1f8326613ee9e..2076148e08627 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi @@ -237,8 +237,8 @@ MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x19 pinctrl_i2c1: i2c1grp { fsl,pins = < - MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 - MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 + MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x40000083 + MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x40000083 >; };