Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2594621pxb; Tue, 23 Feb 2021 10:35:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgwawIwD2vOj7Jie0toNvRvkbavNwDjZHZQv6v+/DUy0/2H7QkekUF6NMTOiWTNE4a4tPI X-Received: by 2002:a17:906:7f14:: with SMTP id d20mr27260135ejr.322.1614105352599; Tue, 23 Feb 2021 10:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614105352; cv=none; d=google.com; s=arc-20160816; b=v4gtzIrsuh6ITerB1W1qZEo/vEZGxTrh6kiQTDURBtol5Et9LOkidFkQEggWfTN9Pd Sa1TFBHSR8HtH40h0OZryFQK3YroQHIaktGgrY8Xs9R/y3t+XzGA1GG5sAE1FyD8TlRA yuQ30vfdnF6HxMQStEAfdFMzQGAB7dLqP5MUIKU6OCOuzhrjOMC1/psjMDBm8eXwSSAq sguA4ZszYxixwHXcYnavHHCMr7ft6lDn4UdYFC5IirHA5djb0lm4Y8kUdlNpbdCCXOsf nj5gvfD1Aruw/mnkFUV908RMYNv+3y7uCv4YvnKz7Zt0bG8Brk9Ibz7ZxtwwZu4y70qo D7fQ== 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=AfUsCopUH4gkZNcHE2L0t4oxhMKNDPG2tTu3Thkd0Ow=; b=Wtcyxaco5vZRVMkLn298Fc5wS1cOwTXVTMKh9q22cq8b7OGElODEcLQfYuKKgTzBGI DvhWY5j1UMp8cnNUpDaTcGciJ6MRLEew6GF1pZ3z6Ejc4C9WqQqW8ToEOd/OF0SBpl1a xT767R1F4Z+fhgsnhKlMH4LvFUvCYk0p43QKQd+Y51XfgawR5Ky7s7jqXl9bsDnDJX1k 64m4uHdn4FdvnftR88+C9WbgdcVt8DgpRRx99IJgD8iVOMNk9FFovZn/xxD0iJKl+8S5 bA2S2NkRirOIORWshdGDsWZhOcaIAgxpdIb3hsuxAoPaWFgPrBqraJeaN3vtDN2xdVeU bMaQ== 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 p59si16433205edb.125.2021.02.23.10.35.29; Tue, 23 Feb 2021 10:35:52 -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 S233201AbhBWSeo (ORCPT + 99 others); Tue, 23 Feb 2021 13:34:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233242AbhBWSed (ORCPT ); Tue, 23 Feb 2021 13:34:33 -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 84676C06174A; Tue, 23 Feb 2021 10:33:53 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 8DF571F44741 Received: by jupiter.universe (Postfix, from userid 1000) id 35A844800DD; Tue, 23 Feb 2021 19:33:49 +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: [PATCHv1 3/4] ARM: dts: imx: bx50v3: i2c GPIOs are open drain Date: Tue, 23 Feb 2021 19:33:45 +0100 Message-Id: <20210223183346.138575-4-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210223183346.138575-1-sebastian.reichel@collabora.com> References: <20210223183346.138575-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.0