From patchwork Tue Jun 6 15:24:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 13269388 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 420E7C7EE24 for ; Tue, 6 Jun 2023 15:25:43 +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=u1QHa+7X2RqHMSofvd7lQKDcpvkj1PZdG7RNvoAwcaE=; b=DKb80Po3MxlHm+ G92uomDYSPxEVI72OiWnJEUWZvNYstFOK7Eu1Uki2G7x/kZcbozWHyFiRE02r3FzbHiWO0TdDK1C0 CDxOQAw+EjaOfK6bhzPC+rP2ZG6QIPAld9AuQJVzNR9/oEf4114i4zrZdw5nb+y0AmARdJG+5tnPQ mHmMchRrw3erh+lhEpqSdf+5vf+dSX1xVEHnYD8dJNR5fg6pebXnDadFLkbZSR+cLB5jcwdsH+aLC EksVtu0z+7PR2ZKg0hdk/RuBrU5vlHUFlioLvnad29RZjk5mziXS3jq8wgXcnuTFN1UQ8H/A9O++d bx1WjdAs9YZi/ciP8MTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6YYe-002EHI-0Z; Tue, 06 Jun 2023 15:25:16 +0000 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6YYZ-002ECk-3B for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2023 15:25:13 +0000 X-GND-Sasl: maxime.chevallier@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686065106; 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=Iit6gZbgWQgXudNIuixMsiN76MK5PGWY3YFp5VdyDpA=; b=XeGZwldPR2714FTtaZenBKRtzxVmV+mtS7QhTam1rdaeSpRJwNJltf2ZkFBbdw9wWYGxLB dlz4hHwdzyP9jJemIpgR3dkXsqwH4YSBg7nvg0nH+j72C2mqlWEDGnnImWs6GAbuzmvhyu /Bpb20Hp9KXqKAlO0ryQvJ8iyj36N3luZwTkk+olYpfRwm0KuDjT2E8MzKo/PPCA6qOgEI Tz8Qol51MpUTm3lU9d/bHdN08hEQLP42SVy28A17sxxr75NhTmmVtfIRXAK2xNEWehIQtg FTjPzLEfI/n92wEpZ95/A6GerR/5BuRJBhNK/tfQXlQYQ5yNaMgBMuo4oZbR+w== X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 2D60BFF80F; Tue, 6 Jun 2023 15:25:02 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexis.lothore@bootlin.com, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Russell King , Vladimir Oltean , Ioana Ciornei , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Jose Abreu , Alexandre Torgue , Giuseppe Cavallaro , Simon Horman Subject: [PATCH net-next v3 0/5] Followup fixes for the dwmac and altera lynx conversion Date: Tue, 6 Jun 2023 17:24:56 +0200 Message-Id: <20230606152501.328789-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230606_082512_324513_C2822FE2 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. 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 Hello everyone, Here's another version of the cleanup series for the TSE PCS replacement by PCS Lynx. It includes Kconfig fixups, some missing initialisations and a slight rework suggested by Russell for the dwmac cleanup sequence. V2->V3 : - Fix uninitialized .autoscan field for mdio regmap configuration in both altera_tse and dwmac_socfpga V1->V2 : - Fix a Kconfig inconsistency - rework the dwmac_socfpga cleanup sequence Maxime Chevallier (5): net: altera-tse: Initialize the regmap_config struct before using it net: altera_tse: Use the correct Kconfig option for the PCS_LYNX dependency net: stmmac: make the pcs_lynx cleanup sequence specific to dwmac_socfpga net: altera_tse: explicitly disable autoscan on the regmap-mdio bus net: dwmac_socfpga: explicitly disable autoscan on the regmap-mdio bus drivers/net/ethernet/altera/Kconfig | 2 +- drivers/net/ethernet/altera/altera_tse_main.c | 2 ++ drivers/net/ethernet/stmicro/stmmac/common.h | 1 - .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 15 ++++++++++++++- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 3 --- 5 files changed, 17 insertions(+), 6 deletions(-)