From patchwork Wed Jun 21 17:37:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13287777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9E9DEB64D7 for ; Wed, 21 Jun 2023 17:37:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lS7CpWNl39Lq4B7KAyDjEWERs3L3fVBJGgw6coYL/fY=; b=QGwBylzHuOGuSo /ndYNJj/jBHaECzYRiumxYL/sqqpD8xwtDVERMSqenOGmIwiSPHCiI4W+bsOuDpRWJEDfYCWi+fBu 5zJqRLv1uEZ6IAgAD7MFOx0RpggTMpJ9+EX5O+yo2EIQaf2tA2UpIOunx6L9oJ2Icc7wpT1tT2vYQ +hMFhU8BKjU7TldbGCz0Z0vjXdq8DLR/A4Yh1CUXOvRmKAg+CHo6cAimXCPNuP9jjlQ+XrfuUKixX ex/5BhmopQJgSiMggmcrJaCt4QLo0asaomjXLqbo93Mq6NV3zef0WAsOg7FV2xeJcr/svtYAQs2Cf azftiJhppq1J+weAolJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qC1ls-00FFBu-1Z; Wed, 21 Jun 2023 17:37:32 +0000 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qC1lq-00FFAO-1L for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2023 17:37:31 +0000 Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5607a458c3fso493142eaf.1 for ; Wed, 21 Jun 2023 10:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687369049; x=1689961049; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DTFVpEvg5xMy9Tlb+wP07Rc0S6rkAQwukO4tDoa4sHg=; b=AY24iW+H3k1jz+zWu5x+1FkbcGjEP3RTemI/WOn/yclmCJTVvcbQilThfCSM6VI1tF p++pIlLewgSJ+KCr/AK/NHkKd9N91uuABTE2FeJSx3rRTs/V96zohLcgtOl+ZZFWnEKm HEknGNuRUNNt8ocJKUl/1TLwObBfyQG9BwyejtY93GAQ/gjjAbLIEHnd7SyNmUXnAeLQ 0PO0XAY9UgwC5LG3OYAUD+6d5u7CT4/Hnjsbw+fSQauli7Mw67Fxj4bc+ny3dSaSUgrS bnIj9KzesAkXVNcJx6SPAjwGHm9HX/pcCtm0Y0YM4V39tQ16dxI66pmw8oCEUgrNF7P2 q9KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687369049; x=1689961049; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DTFVpEvg5xMy9Tlb+wP07Rc0S6rkAQwukO4tDoa4sHg=; b=LqOeMU84ZnKz5kGJpf/bl895PGvPrywTSqLz8VkWL1394NH63Hr/xiAkjlqvqNoQBA 8bo/5/4AJsjA0WbdFEkJTi5Jhb5G9bCWfTm8mI3rwuUuKV4XzauC7b2P1UpWC+O59lbh c9NL0UvcqdaOAdb6QgP0/4jOc0kKD1zHAG/945UQ4DNFYDyCDcIlFXxEoUl6zyT9NzHU M3iIKbAi5oIVCsui7sHvxNcTllLVhQPKl3O9l3LukXzDUyO1SMFuNJEHNGcF6pckDTXc jm/cHpwmLYyO4MWdMb8gjymQBFUfVhktNxCgcxLu4H6hPiCJrnh1kbYHu77jYGQpa8QV /8Iw== X-Gm-Message-State: AC+VfDwbUQoLsyrH0OPsAAFs0eYfp1A3laUGRrI2MWtZz8zC5lACEYBy ddLF5B87/5G/Nfp3el7ygqk= X-Google-Smtp-Source: ACHHUZ4K71Ru05CCZuc0CdlDkTkLSBy1WTnr6PnoKBKR4icwMcVHmT4zSJV2Few7IN+rX2NjDxyomg== X-Received: by 2002:a4a:d38f:0:b0:560:b01a:653d with SMTP id i15-20020a4ad38f000000b00560b01a653dmr1597594oos.0.1687369048595; Wed, 21 Jun 2023 10:37:28 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ff3b:5595:c12e:1c13]) by smtp.gmail.com with ESMTPSA id t5-20020a4adbc5000000b0055b100649e4sm2118926oou.23.2023.06.21.10.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 10:37:28 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag Date: Wed, 21 Jun 2023 14:37:11 -0300 Message-Id: <20230621173711.1063946-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230621_103730_452949_9EBE45AB X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam scl-gpios and sda-gpios need GPIO_OPEN_DRAIN flag, otherwise the following run-time warning is seen: gpio-144 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-146 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 1443857bfa5f..f48f854c3768 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -163,8 +163,8 @@ &i2c2 { pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; pinctrl-1 = <&pinctrl_i2c2_gpio>; - scl-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; - sda-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; + scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; ptn5110: tcpc@50 {