Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3896391rwa; Tue, 23 Aug 2022 12:05:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR5w+qfyHbZUr1ZQ+40P3Ofq/uzRGTKUx8tw0BI7fRnPGEihzHqMWhhD+pcrAX0AkYwqpM9m X-Received: by 2002:a17:902:7297:b0:16f:975e:7c72 with SMTP id d23-20020a170902729700b0016f975e7c72mr25078289pll.45.1661281514899; Tue, 23 Aug 2022 12:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661281514; cv=none; d=google.com; s=arc-20160816; b=Z25iV9E3UEA7Hxwhhud8aJ6LdkIg0vgbMuGlLxffS9OllIq/Si3yc82lmWAjKv+bv+ Jtns3WH5h2Zxx/h+F+D1ZG5gqmHRLl1EW1HkFKmnyluxbJY6n34xPNu2f7YaP0BeW+39 wZQR7NHDC28RuMxmYnxzbfZtgXhsRk5eAl0lUaR27FSSOeBCRqR52+piklWLT1PAN9ek +OyEq6jNsY67R+oN8SmAA5IrFkaoBYt3J8nHMA7Kek6LAeuLjsz7RxCs5pQugJTn7RjW s7OtykEZY7oEVwz53Hy70nNBMEJPCOf/KnZ8cPXpklKho2lyc6rzyGpBG0ENXWtkx6pd Eu8A== 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=iFPqKOGR/pEeybnRl36N5Hl9moFdpCNzqDZ6NzBxF+w=; b=FGEHPi3XxA0bErXs7fK4fWJC2lcYR5q8osT2WfATwSEJ56hghwCa+sQvJ50KpHV5AE G+SJCldYDTRQBgVBEMKIrKBbwE5M4c+GQRM56hsGdLU0zPUw5xwpDi1V8Ftm4tljgK0v KpgD+5GwnWkHGgmRbD0441VywF0sGluxhcgdJ+EESXG7Mpg3av4vUwnVV0Ri/3uHGSdJ vRyaUdNLdp7HweWp0/2CtNhOT6ykHM57JwA5BEjfSL2qdf6UbdVIbVR0umy0++iWfQSm lUXZ1IdvxfNovgYCb2kidHvVQS2GhWj+Rhj+RtW5yEHpavpPz7o4FVcPEky8F4I0vyxe ebIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=J7HTEnhy; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p41-20020a056a0026e900b005360f4ee65csi11292790pfw.72.2022.08.23.12.05.03; Tue, 23 Aug 2022 12:05:14 -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=@bootlin.com header.s=gm1 header.b=J7HTEnhy; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343985AbiHWRHp (ORCPT + 99 others); Tue, 23 Aug 2022 13:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345154AbiHWRG1 (ORCPT ); Tue, 23 Aug 2022 13:06:27 -0400 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [IPv6:2001:4b98:dc4:8::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3803BBA60; Tue, 23 Aug 2022 07:05:30 -0700 (PDT) Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 288A924000B; Tue, 23 Aug 2022 14:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661263528; 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=iFPqKOGR/pEeybnRl36N5Hl9moFdpCNzqDZ6NzBxF+w=; b=J7HTEnhyRUNvjhdlO04AsiNxLjLiYu8IRKWK2O3N6m1IkbEm1XaQxix75kX7sIjKmvonhy jMJWUDBXukn97JFaaXfLClFfb1S16GB4hj4VagEhsfbMAdpCtA6eCXbzShd2RMO0cABWwp iacHgo6A6Ki3pZjRrgbLTs0qMV5zEQbkWAbzDzmqk3svbycnL5DMUzHngvbkH5RiS6x8Ea NaOExALm4UBE4QGr1gsGemAH0Z4Y8d7wJbbWUXjcT8TADiR4jpdl2M9MrFVDGsKm+++kKW B4pvhNuMhi1n02+Ju5u6vhnNhAdhw10xiK3lUFLKvWia276cCJ6S+hSdEfrwXw== From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 0/2] net: altera: tse: phylink conversion Date: Tue, 23 Aug 2022 16:05:15 +0200 Message-Id: <20220823140517.3091239-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 This series converts the Altera Triple Speed Ethernet driver to phylink, to benefit from the full flexibility that phylink gives, and proped SFP support. The first patch is a small rework of the PCS reset code, to make the actual phylink conversion easier to read. Maxime Chevallier (2): net: altera: tse: add a dedicated helper for reset net: altera: tse: convert to phylink drivers/net/ethernet/altera/Kconfig | 1 + drivers/net/ethernet/altera/altera_tse.h | 13 + .../net/ethernet/altera/altera_tse_ethtool.c | 20 +- drivers/net/ethernet/altera/altera_tse_main.c | 434 ++++++------------ 4 files changed, 182 insertions(+), 286 deletions(-) -- 2.37.2