Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp243709imw; Mon, 4 Jul 2022 08:25:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ue2KqhajkZLJtNzH5E86KikVv3e1KCf1rGPOOaHuZRwZCU/LLZo9FT1BFaBT+sv9wGb1zW X-Received: by 2002:a05:6402:4507:b0:43a:5b42:2be5 with SMTP id ez7-20020a056402450700b0043a5b422be5mr6934877edb.392.1656948313242; Mon, 04 Jul 2022 08:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656948313; cv=none; d=google.com; s=arc-20160816; b=BakpU0yGo0f0DYZ34n+29O6dvpMN+5FvtkDI8KEMHoLvHiOCkjJyRMLysSsQkM7dae AGtSgb5uFT1gvjtHw6ZUMJ1vcfBfWTP4EzRxAKpkeK70F6fkNjE9jgZSiNu95GpXdTNf YJm4duXIst+wEhBZUJpO7zy6CUDffxquNMsAbum/h7ckSlqgkbvZaOI0iqrtPEprbx8Z G+lLvdDDD2e6HZ8YUh0LYylbqOxMDyux/B2vVLZ29OT80ZvhfVtGoKRIeSigLHpRzwj+ WqaTffc4qs5KAO9QaTdAQMX1OHPN/+OiHe9nkGFHljjMLZzICeMBzcRVnOrDZCvKvsaG KU3Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=jEiYFjiGJRpd7Nt2gXQg7KVowP0EtL6VyOE2GTOzp1M=; b=lziwaaY9JZdJcEHBHJS19dIJLhJ1TFWQN/ceCBwWzjs4hb+8TU/7KXDWo2Hmi9bK2n nfmhn8g7xAviB2QvcEnN1a+UYv7Eag5DodJi/+dpHHFIsyl6j3zPj4LdMcvsUKm2vnhO 7k2nIM7qKdFQEIC8TMMM3MmOmgMak7y43h0jJXfgtuSg+OAJ7z1/xpCc5YpZOx3Wwjv2 7Orky7T7uXFaC05AjuLkLollfu8RSbDBxI2i7GZvbJtYZqlakl0qQoJLyC7jgfK+5NaU orpQ16VRUP9v20lssaDpDQd9C+pNwaCsXDq0rlw9sHy5OgQJE3JdlawXhgUmyomii3H9 TjLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=bPXFqHpx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020a0564020f1600b0043565964be5si7560764eda.79.2022.07.04.08.24.48; Mon, 04 Jul 2022 08:25:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=bPXFqHpx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234958AbiGDPKA (ORCPT + 99 others); Mon, 4 Jul 2022 11:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232403AbiGDPJf (ORCPT ); Mon, 4 Jul 2022 11:09:35 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A2811829; Mon, 4 Jul 2022 08:08:17 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 0AF7922175; Mon, 4 Jul 2022 17:08:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1656947295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jEiYFjiGJRpd7Nt2gXQg7KVowP0EtL6VyOE2GTOzp1M=; b=bPXFqHpxppnthK3zUNLL990q8DF+cXWviEqPZtqLu0epI5BS5ur7KQt3uyqBRjil5J47Uw nlKzUqp19OfD9QeQ5b4tbOpfvpYY4Rp1/kIKxtgH6HEFdw+t5ixqmX6moVxMXIhPe3SkKu qdrEB+mTcOp8qOsrtT5PChXlF6NUp6o= From: Michael Walle To: Rob Herring , Krzysztof Kozlowski , Claudiu Beznea , Nicolas Ferre Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle Subject: [PATCH] ARM: dts: kswitch-d10: use open drain mode for coma-mode pins Date: Mon, 4 Jul 2022 17:08:08 +0200 Message-Id: <20220704150808.1104295-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver use the coma-mode pins as open-drain. Flag them in the device tree accordingly. This avoids the following error: [ 14.114180] gpio-2007 (coma-mode): enforced open drain please flag it properly in DT/ACPI DSDT/board file Fixes: 46a9556d977e ("ARM: dts: kswitch-d10: enable networking") Signed-off-by: Michael Walle --- arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi index 949d49944a37..5a6c5f7c371a 100644 --- a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi +++ b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi @@ -87,22 +87,22 @@ &mdio0 { phy4: ethernet-phy@5 { reg = <5>; - coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; + coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>; }; phy5: ethernet-phy@6 { reg = <6>; - coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; + coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>; }; phy6: ethernet-phy@7 { reg = <7>; - coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; + coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>; }; phy7: ethernet-phy@8 { reg = <8>; - coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; + coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>; }; }; -- 2.30.2