From patchwork Wed Dec 6 14:41:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 174608 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4151613vqy; Wed, 6 Dec 2023 06:44:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6uen7JyZbT7nkStjUqFcUjDr2KqSXkow2zMc4XKIPYyGzmzwHa2qSnnRxavy4w8hlUI/Z X-Received: by 2002:a17:902:f80f:b0:1d0:6b76:3d61 with SMTP id ix15-20020a170902f80f00b001d06b763d61mr673063plb.58.1701873887006; Wed, 06 Dec 2023 06:44:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701873886; cv=none; d=google.com; s=arc-20160816; b=DelebgiWQVgDmGHfkPinUn+13HP9FgG4OPP8zDbh5CykmJ5Q69LQ4h9fxzCDbdgMmq W/cFvUKk8FMAIWYbcKDdWS2+v4yZnqa4usdS7kCn1ar1d6D2gwU3ESrglg2L55vTUpQr xH9I9XTx7ffPW8RirsRh4zH/sBrASKnSmE/Q6px0ioYa1MXsW1Bc4hgAdj5GMtYwoZv5 y3oz9KIRYgHNzaYPR7bkgq4UOYKCGPxUQ9YZMJbu/f79ZB/IS4TbHMOD0LPpnMExKUhC SNJC7LfUeEK1nQXUK9UkvAsL4KUUaJ+dSjKgPETlRrD2Bz5+rJCGwuXXt2xsLMWXEvpA L8KQ== 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=pVj+CwTGyuX92NILB7TfCfvXVQCKdjB8BZSb9PIcYsg=; fh=mWDe8CjyAdhhjLFVNrKsiT00acIg4QHc0YGM2tZgom8=; b=B1RLDnB+xbvxD4BVwrv1GmBeBL/ZAawvSQw63mfLNLDA8rmogi3xKddeBw/Z4COWcB TlEIIxIgFQiYzFYQwCSUPhQkUeToA3l6D9Wc9F2uIFUfVZASgP5qz8yWKXcwT7xc8LNM VMFWs00VmJN6gpcESgNk8eOgTdzTYmllOxnzUAY+JMSHHzUWblJhamQnpNJKzlEwVhoe TuXUHLwz8KXdQlV8rtRq7KGcSWCbrCVYiCNCAv2j4h/mleHNL6Oox5werscERv2HrKTW BEQ0giuV59uv3aPtNbXmE2gom9EyQ666ihQxFTi8esYtAAjyFgcCYVqruOjeiuKBB1mq dxDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=k+axlHeK; 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 k5-20020a170902c40500b001c77674ea97si11783661plk.423.2023.12.06.06.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:44:46 -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=k+axlHeK; 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 9E4168029261; Wed, 6 Dec 2023 06:44:45 -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 S1379069AbjLFOod (ORCPT + 99 others); Wed, 6 Dec 2023 09:44:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379064AbjLFOo3 (ORCPT ); Wed, 6 Dec 2023 09:44:29 -0500 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1863FD72; Wed, 6 Dec 2023 06:44:34 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EB777C0190; Wed, 6 Dec 2023 15:44:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701873873; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=pVj+CwTGyuX92NILB7TfCfvXVQCKdjB8BZSb9PIcYsg=; b=k+axlHeKuImr6h2w6Buolj4EEEnx5vfX7QeW+af4zC+f3zQBU2FMOlH5sbzLFFehh9WSHZ 56hWDn+0rhA55pKTDpF+qLL9lhA5XxEYTiYnFsWzvBecMpftX+LYaEQlKRqcx1BswWwDin cYZc+hfSsWY1TIu0beeAB0cMiGmI/luma3iD4Gb113GcREoBHwZveNW2hY0lywM06jXJEQ j/J21t0qUh3dWLb4xYR6wDd5GWVeyFkspBFPeOMx/kJVwVDdICByrj6iVtLVOcb/0YRVjE X1oVL9iwmWVc3QUKRIX6LHoDnOuhnatoknuAz6r3bsTricHgsUtmLTtDT5SnXg== 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 04/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM Date: Wed, 6 Dec 2023 15:41:07 +0100 Message-ID: <20231206144201.46911-5-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=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no 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]); Wed, 06 Dec 2023 06:44:45 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784544112958896699 X-GMAIL-MSGID: 1784544112958896699 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 v3: * none 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 a0f0be3f104fb..866f35d1633d4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts @@ -432,8 +432,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 >; };