From patchwork Tue Oct 31 20:37:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 160332 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6359:d23:b0:164:83eb:24d7 with SMTP id gp35csp599344rwb; Tue, 31 Oct 2023 13:47:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvJL8tF9n32gKiOWb095SHH2ci0NZ9xvBJ3o8luVGHajEs0jI4FSw+5JVL2GRP+ZCxZCan X-Received: by 2002:a05:6358:1983:b0:168:e592:f8d2 with SMTP id v3-20020a056358198300b00168e592f8d2mr16601240rwn.25.1698785255636; Tue, 31 Oct 2023 13:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698785255; cv=none; d=google.com; s=arc-20160816; b=s9nHcPK36ctfmsxA+k5RS1d61slX0Ptn+QnjQ/UJf17IF/NtEwBcS47p/foRLNyEAv pyn6c98wHjcnWRVBj1nC0ZS+htUNgsmJKSnXQ+HN25fCknrOAeSv4jNx3uvVKl9ExFnb 0yGFkKNWNYa4o+f/FJbPCQlqwYJ/FSxVLcwsKvr0vA0tvXDfzoQ6hGAG9onWoyxvXuTg xDV6K4B0MPguGrj7sWQ+b9WZpROYKPC/HKCfitzopfKVm1DG8emIN4FKmKFg7pOcl+ob ALMk1pAvfKNUilfZ5sb3WucGTNL0/BdN32Ul7IliaYNh2xpmPAXGLTDn+ot6/dlpqnTu Lupw== 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=QMQbz0Xx1UZMq2SrLbRYJmhzSjoTma3z0GNzEhkDDx8=; fh=26bEv3Kb5/fz03lgC3MGK1LL0thDjESAzzJ1JZ5IEY8=; b=ZonexxImv0vPH9wZNACFSxWnSB1K4olW3qWbyy8KRV+b2Vy98U0eT3crvpxToRJrT5 C+V4WvhpuSAd/iOkZzePiYB66m3e5dLL0g487lNEaiHTdQRKt8rnEqXsqINs0ry/flN5 K0IB3vltSRpTRXlFl6uRyR5PKWfaIjA54bCcgeGm6cA1Hquads+rRUAc7ZCslzEH2UjZ 4c2hfvsLZlQYqoM2QaTTHvWfx/xRrsSViKyff+vjjlc9bW0Ztl6DWE4zovMRf37s37P5 /qgpZjzSWl91m1bBSCZBN4S6oaFJiXe6iZb0/CimQM6QrQgwRasLOlHy1+0jPXxfI1zx JdMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=uHJKKbri; 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 a2-20020a656402000000b005b902b61cb2si1509647pgv.127.2023.10.31.13.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 13:47:35 -0700 (PDT) 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=uHJKKbri; 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 353C381065A9; Tue, 31 Oct 2023 13:47:30 -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 S234508AbjJaUr2 (ORCPT + 33 others); Tue, 31 Oct 2023 16:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233956AbjJaUrQ (ORCPT ); Tue, 31 Oct 2023 16:47:16 -0400 X-Greylist: delayed 484 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 31 Oct 2023 13:47:11 PDT Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44F7DF9; 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 0ADF6BFB24; Tue, 31 Oct 2023 21:39:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1698784754; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=QMQbz0Xx1UZMq2SrLbRYJmhzSjoTma3z0GNzEhkDDx8=; b=uHJKKbri1D+cZ3+5THyik/L7kjuc7Aw2rSaVt5O20fdCuO20yzdBob5BPgEiQOzKk9+WxM iPQsjp7VKjkeKEsMJIF4gxPMpAeqSsVBrpMfHLXCiWeVMR5qUZNrCfjwW0+vZx3BNKCItW PWfU+Sf1Q1qMtKLYj6LvZDJrWaOHmG00j5ZpAda71fZAK8ReWPw6TM61YDeSilZ3NoNgDW S2Z+9vpoGJNecAUC4eHhXt+PQ/MTMZLS6zaCxxbhjT9/CeVx01rx7oZk76InmzviC8r7LN UxpUNnNWJQz3ej9eIdiLFcAq/9omt5a0CGEVuV4wb9zFwtHJess479JPeCLLDQ== 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 , Marek Vasut , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 03/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on OSM-S i.MX8MM Date: Tue, 31 Oct 2023 21:37:40 +0100 Message-ID: <20231031203836.3888404-4-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:30 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781305448227975419 X-GMAIL-MSGID: 1781305448227975419 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: de9618e84f76 ("arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S") Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts | 4 ++-- arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts index 8b16bd68576c0..0730c22e5b6b9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts @@ -294,8 +294,8 @@ MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x19 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-osm-s.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi index 6e75ab879bf59..3e7db968f7e64 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi @@ -252,8 +252,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 >; };