From patchwork Tue Oct 31 20:37:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 160329 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6359:d23:b0:164:83eb:24d7 with SMTP id gp35csp599252rwb; Tue, 31 Oct 2023 13:47:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOUT+KN9rqtDf2zxe7hg/9YNZgaSZE2x9NlmfjFCq5eQ3nCsufb7w3RUnAgDaiQWMcfDGy X-Received: by 2002:a17:90a:7563:b0:27d:853:9109 with SMTP id q90-20020a17090a756300b0027d08539109mr12657553pjk.20.1698785242307; Tue, 31 Oct 2023 13:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698785242; cv=none; d=google.com; s=arc-20160816; b=GKi4WvH2xah8E8957teQhcCmv+wJpwdCEtjiXCNV3D3yHjEQCiyhFjCax9bJLpp589 UxIwrSLtixE6UUWOZvD3ptiQEsy7CMATF7htlItEoa4aD74jJDoYpiibsLIJ5zulX2uu JbnIdmQMKzoE/cAR4ZXHGbvZph/lV1qzzAw4NgGc3oG6Gpo0E1FQDeJ9zI95Qhi1R2Le tC82rm4wMIVHwgGZtHSR5xisWPvn1UCjaxabhbxEccpjeeXaozwAQJMhCVy2qy0RB2Sb jZlQZcNwIzxUhJQ9l2f2XFprhsaU6/lBITCUFUy7noGk//bCk3ZjCtoGjl0eI2OeFIa+ I6WQ== 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=qde+JqdKc+CdXiwj1NnhKt7JXBWTzkZQwt6vtInJm6I=; fh=U8G1KwnZDC17JkWYTL2GsJef3ICFEZqRKXzEI3Lh4Ws=; b=HUdgFg/xSU3ZlCydeN9nohmtW+dT3CWpSJz04/0z9NxdLv0RbQJQfX72z9W9hiBM4V f1QjQuTtj0y66X4+z5MCMlp6W/Od3V3QIyaqRaU9R3LKMJESzSkDR488IpchQn299Jp5 JhncCLhP7UFNADkv7jYUFjiUg9xfirVQ9uPur0kJiFueuVAEULmGNf2nlvNyLbzlSeYn D/QMLQdC1DgN0Bq5m1Q30780YsumdJzpQ9FI2JKYHce9M74n4xe3EsjqtvibpbS1H1c7 ZZTSuFEIT2meJMV9jw/Dj5U4/dO4zHUcUJTqM5g/X8D1LopEHTJJFTt1FFRY244GRWDV O4iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=Ctsut142; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id ck15-20020a17090afe0f00b0027677087be2si1433630pjb.108.2023.10.31.13.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 13:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=Ctsut142; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 CD958810439F; Tue, 31 Oct 2023 13:47:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234120AbjJaUrR (ORCPT + 33 others); Tue, 31 Oct 2023 16:47:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbjJaUrQ (ORCPT ); Tue, 31 Oct 2023 16:47:16 -0400 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45075FE; Tue, 31 Oct 2023 13:47:11 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9414AC047A; Tue, 31 Oct 2023 21:39:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1698784757; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=qde+JqdKc+CdXiwj1NnhKt7JXBWTzkZQwt6vtInJm6I=; b=Ctsut142x+UPHkbQaExq8vH6wrBLxrdBwkrWlNBSSLX3U8Ifb/aQuSfxaIGvK6dPCnWtMG wpRxet7sw1C4NRIHM0/W1uCbc2pebe+d5DkYNJoUuJvtGiFTUa9icR6UGsxSKY2PNKeK99 irCw3tP0VQON276mFf3dIi8NhvcT04Ii4Vw7YSaForqaoUppdMefIpSY/IMqf6ntK9ZHi4 CydFfjeHY2M8rYYO1J1gIVqXeaiOqxudpUyaLvhTUQbrgJ/E7lQehWG6Dy06gL2LKr/h3r sYFr+MLTbjaO69DNmt/lpf0t+fNX0RXQEBIVNAQiXsmxl6BgcrNQDqYEflZ+OQ== 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 , Marek Vasut , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 04/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM Date: Tue, 31 Oct 2023 21:37:41 +0100 Message-ID: <20231031203836.3888404-5-frieder@fris.de> In-Reply-To: <20231031203836.3888404-1-frieder@fris.de> References: <20231031203836.3888404-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]); Tue, 31 Oct 2023 13:47:19 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781305434411765907 X-GMAIL-MSGID: 1781305434411765907 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 --- 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 f1326bf634a7f..88da7fb71b193 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts @@ -421,8 +421,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 >; };