Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1828317pxb; Mon, 8 Mar 2021 07:21:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxMuAXmXgEk7eb3xKbx51bjFWT90HM0WKywXxRTpod78S0+FWTjsa8oeLQ6rz2xIqPLJ+D X-Received: by 2002:a17:906:5902:: with SMTP id h2mr15354916ejq.416.1615216860276; Mon, 08 Mar 2021 07:21:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615216860; cv=none; d=google.com; s=arc-20160816; b=wcUorcDUGVak3KO7pIGNXgwMv+CTnfKl3H+EFE5/2tCnVWaxO5aFHCsoeY1gc+vQjA ZTm8y58h44s1V1TiAlk4WnaAmBVh2GKAmSeq1rmqsuFINAw1FF3QkAf2HrdYI87l6te4 VkU/zi5bwxxBMCO7W20zCl6Kp7dPJ/WAEAjfiHHMTMYLnnuPxzf6uS2/gqML6cBvT65s XRLXuNgNTbJQ6LDTsTCflKf309FtmwJThdJR08OhYb9Xb80zEJ/Ll+CJK3OwRGB79KfM fjOz+Hey8kws0p81ssCc8KmcdacXVE+8Tu7ECo8/WMzUIkyOV516NluMTP005Z7+TBCq ygvA== 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; bh=tWRDh12lxPgIBAG8hruF3CcWRq+lohxpsXKwTWUCFd8=; b=FOF0P/9OVRT5g6foYmZLlRzUY+HCyxmPJWBthUbTwP119j4fMMtEgkFQEQAjOMS3ju VoOA2tMCaSAMThiOvVPWio6d6oE58AZ+yN9/yqhpQt1mu4c8u+92kFVrS5vW7w3KCYTe TkUPrW9SUxb9tBUjOjLU34Bfe4QbJRtZTKSnolLgRCepsfqbKx6Gbl8YMyfdljo8dD1u rFI8p80YwHPtcfOEMhE2WmoVEZ0wvLTiTN9tXbRo2p7HkI49V63XI8DsiYETSWDYZbYR EzelBFW/EkQ72rANpQP6I0VUxC/crHZkrpbQkGjZBqPvHdPn1nPxoay8C+4Wn/wHqYlo NVRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si6694034ejm.138.2021.03.08.07.20.26; Mon, 08 Mar 2021 07:21:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231712AbhCHPTG (ORCPT + 99 others); Mon, 8 Mar 2021 10:19:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbhCHPSg (ORCPT ); Mon, 8 Mar 2021 10:18:36 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC4BC06175F; Mon, 8 Mar 2021 07:18:35 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 96C561F4512E Received: by jupiter.universe (Postfix, from userid 1000) id DB9C64800C8; Mon, 8 Mar 2021 16:18:30 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCHv2 3/4] ARM: dts: imx: bx50v3: i2c GPIOs are open drain Date: Mon, 8 Mar 2021 16:18:28 +0100 Message-Id: <20210308151829.60056-4-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210308151829.60056-1-sebastian.reichel@collabora.com> References: <20210308151829.60056-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Explicitly mark I2C GPIOs as open drain to fix the following kernel message being printed: enforced open drain please flag it properly in DT/ACPI DSDT/board file Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-bx50v3.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi index 2a98cc657595..10922375c51e 100644 --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi @@ -173,8 +173,8 @@ m25_eeprom: m25p80@0 { &i2c1 { pinctrl-names = "default", "gpio"; pinctrl-1 = <&pinctrl_i2c1_gpio>; - sda-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>; - scl-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; pca9547: mux@70 { compatible = "nxp,pca9547"; @@ -315,15 +315,15 @@ mux1_i2c8: i2c@7 { &i2c2 { pinctrl-names = "default", "gpio"; pinctrl-1 = <&pinctrl_i2c2_gpio>; - sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; - scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; &i2c3 { pinctrl-names = "default", "gpio"; pinctrl-1 = <&pinctrl_i2c3_gpio>; - sda-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; - scl-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; &iomuxc { -- 2.30.1