From patchwork Wed Dec 6 14:41:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 175199 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4844739vqy; Thu, 7 Dec 2023 07:07:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpkQCqKM4zuMjmHgVp4fs8mlJB0pJFKDsbW36cmMhJAZmWhfkjJZY7wIOw/jVOgN8RT09W X-Received: by 2002:a17:902:ce8a:b0:1d0:9162:75fb with SMTP id f10-20020a170902ce8a00b001d0916275fbmr3348474plg.0.1701961654307; Thu, 07 Dec 2023 07:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701961654; cv=none; d=google.com; s=arc-20160816; b=UkAWlxA/1yRFgZvruHaFMnQG+N28IhDt96i+Qb64QOMjoSjHnphVVKxKXLbqdcGZ80 MMqPXe00j3DAGdeUZfbMwpgdNMYsLKfekBbuTbOws/rkyOTm5TXQf0JYJ/cidllm1YOP 0lw+Y2Ssw+1xVkz8Xu2RQq2yJv1le0Gv+beolu3WBqFc+Sr41hOp6pXw6rboneDfI7Fc P4fU8e9MsmRbZgYYS7mcBRNGnuhUfYhAFi19dXT+KCRopJXHG1P8EM3C77Po9W1BDjzv jDqeF6V0nweTXu+jtfN477x2czrxFMSEyu0lBy+nLu9Y8FPSkUXZnxqAB85wOTkT709E T7VA== 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=NkMKnEjwIGTkVluEw4nFhKYXxAKXw2JtUmP+2W0Q83E=; fh=5WBVB9KggvEUZrfL2cFjcxt7hrbLV0CECJcyvKKi3zA=; b=0GpsRcC22rx+4mna2YeId1a1K61MbTbvNeHfCmjA7nNngbteyqNkm0X+2dJxVfnNgG gHfTLvmgxUZEfVUPC9kQ9nrHdd4ICM5sMhmfFb0CjELJ0CFObVQjXgsUI5hMuamLKte6 Grc8QGbpH5BA+duOrDe0PKCbbUn6gBySjWXX0HLijL0Whh/rHvnzHFsKPGl1ghb4Uolz CAVlgpwduQaeSbGzQ+/qWl39ybUUKeE0yCV+vyjDVkWACipYXjh3o8URFBIOjIB11Wk8 LBfg2CPitaQI246bldFFNfSNS+5AU2WtUQW/z739jcwUfTnOGXttQYksV3u6S4ZvVb1p bSNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=diSwOy9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j2-20020a170902da8200b0019c354055d0si1305766plx.304.2023.12.07.07.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:07:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=diSwOy9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 2C98F8328AEA; Wed, 6 Dec 2023 06:44:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379082AbjLFOob (ORCPT + 99 others); Wed, 6 Dec 2023 09:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378978AbjLFOo0 (ORCPT ); Wed, 6 Dec 2023 09:44:26 -0500 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80AA0D50; Wed, 6 Dec 2023 06:44:32 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9839DBFD15; Wed, 6 Dec 2023 15:44:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701873871; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=NkMKnEjwIGTkVluEw4nFhKYXxAKXw2JtUmP+2W0Q83E=; b=diSwOy9yZUei6M299O6MJLnYq/3SMDZOXAmm4xLzGKAe/JdM01/CeKDps0p5yJtcHKhiFn NHBAK8c5nSUdra3bC9w7amclupXt4LnH2EyR8BewvOqbXR7sOFteNJUxguwSgCcpB3td2B qPPAfLqQ1KrAkQrmcUGSF1ddRmHvZKhk7NWEin6yj+0sHONdg0fDzU+IcwG+crA0jwUeT6 BtbZ1Z4zVVHd8dYwunnrMVY8Zzcp/UhQoar/bUNy4795aKCkTELOGHNki8TbuVt63GXh3a XKx4rvgQ62KLEdCm1V01sdFriQSq48T8kYJ41Xuc74986uMw66RMGI+5F2po9g== 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 , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH v3 03/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on OSM-S i.MX8MM Date: Wed, 6 Dec 2023 15:41:06 +0100 Message-ID: <20231206144201.46911-4-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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:44:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784636144058652236 X-GMAIL-MSGID: 1784636144058652236 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 --- Changes for v3: * none Changes for v2: * none --- 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 >; };