From mboxrd@z Thu Jan 1 00:00:00 1970 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 E4272CCF9F8 for ; Fri, 7 Nov 2025 14:27: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:Subject:Cc:To: From:Date: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=XFINYXPr4RWHE/Ho3x37Zu+56QTfsfzjB5qmu6QpK+s=; b=Z+3G7OQRc0GuEX qn/J5Uecqp1msRNeYRcEdWz5jKlIWK5QLPu5RRdza8DXblscqEyEQeDg9283HLBvvYDAUKAIJftao rxaIEXF8F5UM546WgVa0I35+FEmefay747kzZKt1bSeMGYGFKBuFVW4I6J9NgQcCJbsKzWMEx8pAS uXKB7luTikeJxnMPCffObKWKGZ0totyp0lRdd6erSbRTxC89e1RhJZxOmjk17lozfaYz3qMg3k984 00WflHVa6lNBj2GuNXmEoJsoxj6wKYF/Y+dDPDb5EMXTCCPBTPFydba2Dy0AfefO+PJVIYG9eA7tX sdD9VlL1JWrhdVZrVTvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHNRJ-0000000HTcW-34zu; Fri, 07 Nov 2025 14:27:45 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHNRG-0000000HTbu-49m6; Fri, 07 Nov 2025 14:27:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8Ih8W61/2igKq+jp/SUxQHmllcTXqE/WlAIvDUyh2EU=; b=Sv2JOcASNdoVjoCSMJAI1x806j BVVEdQJEpYIfEsWwJHQIeQIDdFjDQM9jtB72wRYVxzUkOkahUCltipp6IKZctSffgWUeGACG/jAVQ 0m5Lu+6djvKgPEVmWx7HCRViE1p83152mFDp/CRBj7qXZeOZ87WyLg7KOWfANxGnAxUzfLfhV17p1 kYnTMee7NGFexO57WRopGMM0q+GHIRbDl8shLQVWW5KYCEiHR5gFD7gWdHId6la8Kwfbbthr9r8Uq p+E2FO24+ckTNfzRLUESN1NJrivmwe8IhFWOQwC/cYgL+i7xxCevwFmdXxJnEUoiB+OZUR2wUFJju e9KG134g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57930) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vHNR4-000000006eH-3lYr; Fri, 07 Nov 2025 14:27:30 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1vHNQu-000000007ef-41bA; Fri, 07 Nov 2025 14:27:20 +0000 Date: Fri, 7 Nov 2025 14:27:20 +0000 From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: Alexandre Torgue , Andrew Lunn , AngeloGioacchino Del Regno , "David S. Miller" , Emil Renner Berthing , Eric Dumazet , Jakub Kicinski , Jerome Brunet , Keguang Zhang , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Martin Blumenstingl , Matthias Brugger , Maxime Coquelin , Minda Chen , Neil Armstrong , netdev@vger.kernel.org, Nobuhiro Iwamatsu , Paolo Abeni Subject: [PATCH net-next 00/16] net: stmmac: convert glue drivers to use stmmac_get_phy_intf_sel() Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251107_062743_027813_4C67FB63 X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org This series converts the remaining glue drivers that support multi-interface to use stmmac_get_phy_intf_sel(). The reason these drivers are not converted to the set_phy_intf_sel() method is because it is unclear whether there are ordering dependencies that would prevent it. For example, reading the stm32mp2 documentation, it is required to set the ETH1_SEL field while the dwmac core is in reset and before clocks are enabled. This requirement can not be satsified at the moment (but could with further changes.) .../net/ethernet/stmicro/stmmac/dwmac-loongson1.c | 18 ++--- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 77 ++++++++-------------- .../net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 30 +++------ .../net/ethernet/stmicro/stmmac/dwmac-starfive.c | 26 +++----- drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 44 +++++++------ .../net/ethernet/stmicro/stmmac/dwmac-visconti.c | 26 ++------ 6 files changed, 82 insertions(+), 139 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic