From patchwork Thu Jan 12 15:15:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 13098184 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 CC5EDC54EBD for ; Thu, 12 Jan 2023 15:17:21 +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:Cc:To:MIME-Version:Message-Id:Date: Subject: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=uoobC7tenuFKBKCl9YAapvuFa/LxDNJWBK3czwLpvG4=; b=IsGw2SgDUIgwR0 vn18ydoXk1mN7Cw+BdYNqhRtIxIkL5hx93LH7BuQzjJyJcnGFil4YlD3DpJ9YSUvrSH+KnNfHe2wU AXYnb0XaCa2z11Y6RKgrVNDNXLZOisqRCouSyXVfVCcIDrbqwy/YUgzHYfDp3yJe1tEZA9Hx7tMTT oz4ebMxNy3pPi0FppAp3QahgqZRVPUJU4NkNTlTbok7PpVSt6bfsJpJP6TxlQmBeRoV2daB/2A/Z0 2Z5aj4UH3luu25MrvRS3s/Ivv6cE8VGNMFxSXnky30Bh3PyTOdHtGu1j/5vk9NFrUjWSUpXeCXaYk MV9Az4Xq2y+wywu0HBoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzJL-00FYcC-Ue; Thu, 12 Jan 2023 15:16:12 +0000 Received: from 0001.3ffe.de ([2a01:4f8:c0c:9d57::1] helo=mail.3ffe.de) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzIh-00FYLv-3q; Thu, 12 Jan 2023 15:15:34 +0000 Received: from mwalle01.sab.local (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 17DAF1243; Thu, 12 Jan 2023 16:15:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1673536523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z7B4pND5e+QR5QtoQ7I5oChkxQuHHA20+0hEeYmGTgM=; b=u49FS3Dk9qDfluXiGp9TkmisU6Qu5EvwZeqGdovxab6dVxup2BRDNMldkVcrzwCEAfpQAO ZqMoR10rIPYiZXZgHEfpSBuByb641u4TLay6c3YIfCdpyyraN3BAKHkEcEFVIkadRUCeaH NhRHm0VW+4rqcCspn5gc2CDfsZ3V9+V77PoUo5/EbEgb2mqudJB6j2SVDvbwlriGHsQVNE g+ewd5Nm+se/6Xbqu+vFAXV0+H4iY4LjVWzQ14ymHNqNk0p3sf4brIiS32qqEmA3kq2MDu 6wV/2+U3EUaZghtv6GX3t0E72N3yCT7u78d3h0OeNauAyUvteuYApMHhmZ3Iug== From: Michael Walle Subject: [PATCH net-next 00/10] net: mdio: Continue separating C22 and C45 Date: Thu, 12 Jan 2023 16:15:07 +0100 Message-Id: <20230112-net-next-c45-seperation-part-2-v1-0-5eeaae931526@walle.cc> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPsjwGMC/zWNwQrCMBBEf6Xs2YVuTLX4K+Jhk25tDsawG6RQ+ u+mgoc5PIZ5s4GJJjG4dRuofJKld25Apw7iwvkpmKbG4Hp37okcZqkta8XoBzQpolzbBgtrRYcU xjkE8v4yXqFJAptgUM5xOTQvtip6FEVlTuvv+Q5/KTz2/QtSEQk5kwAAAA== To: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ray Jui , Scott Branden , Broadcom internal kernel review list , Joel Stanley , Andrew Jeffery , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , Bryan Whitehead , UNGLinuxDriver@microchip.com, Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , Florian Fainelli , Li Yang Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linuxppc-dev@lists.ozlabs.org, Andrew Lunn , Michael Walle X-Mailer: b4 0.11.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_071531_745450_D4C4AF70 X-CRM114-Status: GOOD ( 12.72 ) 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 I've picked this older series from Andrew up and rebased it onto the latest net-next. This is the second patch set in the series which separates the C22 and C45 MDIO bus transactions at the API level to the MDIO bus drivers. Signed-off-by: Michael Walle  To: Heiner Kallweit To: Russell King To: "David S. Miller" To: Eric Dumazet To: Jakub Kicinski To: Paolo Abeni To: Ray Jui To: Scott Branden To: Broadcom internal kernel review list To: Joel Stanley To: Andrew Jeffery To: Felix Fietkau To: John Crispin To: Sean Wang To: Mark Lee To: Lorenzo Bianconi To: Matthias Brugger To: Bryan Whitehead To: UNGLinuxDriver@microchip.com To: Giuseppe Cavallaro To: Alexandre Torgue To: Jose Abreu To: Maxime Coquelin To: Vladimir Oltean To: Claudiu Manoil To: Alexandre Belloni To: Florian Fainelli To: Li Yang Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-aspeed@lists.ozlabs.org Cc: linux-mediatek@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linuxppc-dev@lists.ozlabs.org Cc: Andrew Lunn Signed-off-by: Michael Walle --- Andrew Lunn (10): net: mdio: cavium: Separate C22 and C45 transactions net: mdio: i2c: Separate C22 and C45 transactions net: mdio: mux-bcm-iproc: Separate C22 and C45 transactions net: mdio: aspeed: Separate C22 and C45 transactions net: mdio: ipq4019: Separate C22 and C45 transactions net: ethernet: mtk_eth_soc: Separate C22 and C45 transactions net: lan743x: Separate C22 and C45 transactions net: stmmac: Separate C22 and C45 transactions for xgmac2 net: stmmac: Separate C22 and C45 transactions for xgmac enetc: Separate C22 and C45 transactions drivers/net/dsa/ocelot/felix_vsc9959.c | 6 +- drivers/net/ethernet/freescale/enetc/enetc_mdio.c | 119 ++++++-- .../net/ethernet/freescale/enetc/enetc_pci_mdio.c | 6 +- drivers/net/ethernet/freescale/enetc/enetc_pf.c | 12 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 178 +++++++---- drivers/net/ethernet/microchip/lan743x_main.c | 106 ++++--- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 331 ++++++++++++++------- drivers/net/mdio/mdio-aspeed.c | 47 +-- drivers/net/mdio/mdio-cavium.c | 111 +++++-- drivers/net/mdio/mdio-cavium.h | 9 +- drivers/net/mdio/mdio-i2c.c | 32 +- drivers/net/mdio/mdio-ipq4019.c | 154 ++++++---- drivers/net/mdio/mdio-mux-bcm-iproc.c | 54 +++- drivers/net/mdio/mdio-octeon.c | 6 +- drivers/net/mdio/mdio-thunder.c | 6 +- include/linux/fsl/enetc_mdio.h | 21 +- 16 files changed, 766 insertions(+), 432 deletions(-) --- base-commit: 0a093b2893c711d82622a9ab27da4f1172821336 change-id: 20230112-net-next-c45-seperation-part-2-1b8fbb144687 Best regards,