From patchwork Thu Nov 30 16:16:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 171978 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp506086vqy; Thu, 30 Nov 2023 08:18:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+TZuKTjbYl5UTHcDYl/Mm4awl14HJ34q7LdHOcI74D5n1+Vzh7Stgjf40W5lUZebkR9F4 X-Received: by 2002:a05:6a21:788b:b0:18b:d823:5362 with SMTP id bf11-20020a056a21788b00b0018bd8235362mr23215361pzc.48.1701361137255; Thu, 30 Nov 2023 08:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701361137; cv=none; d=google.com; s=arc-20160816; b=SmhxAbdKrFw7o8xCuvxt9+qilIJqhQQlgs/VuzgWg+S7iFrsqrdmxhAeDlHG7UJ1UV 9HlvL9CMTYMem7Qhe60h2g2pQlaYvscUjHdmGYKokIG4hr5CjufHofjjT56Tr1Rlm48n RvC69MjBBO8DRICrmAjMCjM5MWLBop2FWxOCQ3giXpeX+gayMEL+SlQNQhPr58i/pcH0 26VGiH776ngdT3XTY5lfMLsuOx3kxhTpOcdCUkWbg3kwubJxB3JtyKxHf9Z5pRwt/nWw kjeBSr+qNNZE6bL+id7u0xquVaEur86T43KZhI73M4i3bjZBOatcszfUXbZGhYs7zF6k vi/g== 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=4wc5xlMkQVwPcIfy78SOPNz2f9X1LzOiI43PLTGlKIw=; fh=5WBVB9KggvEUZrfL2cFjcxt7hrbLV0CECJcyvKKi3zA=; b=nz6EGNac3be1x54dJu42tFpCeIxcg+ZXO+M+GtQszdfcKljInXwwhinkeuLoser6se A6lejAeoW5k7I2Cnsa2XlZlWkXgwH8QUOjsSj76Qqf1vvaUSHrUOWlAv9LvZMMfCR7KM PIP0euGqtVjtttP4Cgi+SPTGtFM9/u/ogYLmxWbHR8JGt+eeA5nxoJTF77/ARQRTdn35 o46xUBXlW+jOJ+xOaEViYGlggh6lIpf+fkk8mUfpKvHYtitpyZ4jXlc8V9nO0kflAyWg adUqrx2MQZOgl+0PejUWS0sANmmOnU+B8AT0c2W1Iy9N8dYVg0mLfzDphbKQo92r6Z+k IKhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=HIqDSTpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id cm20-20020a056a020a1400b005c62309ad38si1669083pgb.718.2023.11.30.08.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:18:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=HIqDSTpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 90B2D802955B; Thu, 30 Nov 2023 08:18:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232256AbjK3QSk (ORCPT + 99 others); Thu, 30 Nov 2023 11:18:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232238AbjK3QSf (ORCPT ); Thu, 30 Nov 2023 11:18:35 -0500 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F26D1700; Thu, 30 Nov 2023 08:18:40 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3402DC01DC; Thu, 30 Nov 2023 17:18:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701361118; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=4wc5xlMkQVwPcIfy78SOPNz2f9X1LzOiI43PLTGlKIw=; b=HIqDSTpFOvPNcaV3anPh7zEcy3RpJpAPoJ9yc+LRE1KhwmhP2OJhltFzQgAT4/NuyJlQyv 8Tzn1nLuxp86boeemiwUqvBVWgNtRpTN8Bzgsn7P37J2YbjL9tzcHu70VRrJ8j1383+RQy zE5vih9Ohd5/tgq/dWuaSKVGGlU2ca8aXlJiHxNSJ8JjesPWw7dgPVTvMU+mR7EowhmBdl wfVUCa09RlgiTKB2XC6eKfncJ2DBXoeWbyQkmRqeWoNQosW/1b8gOG4M6Zjd27n+ITgkDr R0yUiB1HQmn07VSJxQRWlmFMJ04omLFBF9QPJvI1UaCVd2RMC4qk0nuZ+FmVUw== 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 v2 03/14] arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on OSM-S i.MX8MM Date: Thu, 30 Nov 2023 17:16:03 +0100 Message-ID: <20231130161657.556483-4-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=-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:18:54 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784006456122166663 X-GMAIL-MSGID: 1784006456122166663 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 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 >; };