Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3044547rdh; Mon, 27 Nov 2023 05:28:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJeD2qOHZVn6abJj8c5dnSxtW+8UJwrKEfGdIpVavkjSuT8HNG+e5IAXgyJsUDgIiYyLiw X-Received: by 2002:a92:c7d3:0:b0:35c:ced9:fd51 with SMTP id g19-20020a92c7d3000000b0035cced9fd51mr3383636ilk.8.1701091708375; Mon, 27 Nov 2023 05:28:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701091708; cv=none; d=google.com; s=arc-20160816; b=yVvEUZVNtyVZpFvC3fFc7Hwdkkpu8hboAFULG8rxPnk5dLSL5IK+197kC2+XprIqzK AGDOTIZUKPPNpD5oukpaPlyVp8qbo9vQTMMrv4CPRRiXPht3F85NbQ9WdZLSQhLkg1gq qPtOF2v3vNzwDVAfl8IT5ELkSK04j9YyhS5z2Xdwmt1VeQNdqnWi36w8AG64BTRtCHYx xmGf5edGG8G9IHQmXeyaUkY3JjJbotSjqHKOkmNFHy3wyOt55lDL/WHLwP2NeH3IYN+x lw/zXJsfu+vW6MxVzkuVYhiLQGiOOp3zJQDl7EkbuMl569Mb/YChmqxZ/vZeb7eWTgTY XfhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id; bh=0u3t1st5+XHecR3TzsbU0R+nkyLXhBSEvpHu9XsYVEc=; fh=rj5vtfO2Pe0dXnmmOvBan6O5MXDHi3Euga3MaQ2dbts=; b=Yk0UoOwmM/H6nf4e0Ir1mqEgRS7M/JoBAIg54WPw8MDOeo3orRnTT+D9wIogWVw1q3 lXNVDfbpxdC/0xuk0MDvDDWtNDQNHGm5i7dXS7JESoFuqGjGBKMBSS6UjvKHcdyD4LkX R42zJxwfzUpbqX6qvE/xPBiSaSIYqZdUe0mw0IQuy7YAIPvAgLYkJkNtnitJl/NwrR52 rdSp4A3unDXQtrn83XkFAkuOvf3X/VLU3Rn1xJFKS0INpnJ6PiJDzqo0z7QXCyacmIwg 0D77WeEILCRYKslp2zs4njp3SZRCI+Q+Qdd3jzwHkzxwrDEQTxuvWH+Lp8rn0r/d1D0X EAoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id y35-20020a631823000000b005be27346472si9881178pgl.582.2023.11.27.05.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:28:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B8C688065EFD; Mon, 27 Nov 2023 05:28:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233264AbjK0N2B convert rfc822-to-8bit (ORCPT + 99 others); Mon, 27 Nov 2023 08:28:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233327AbjK0N1z (ORCPT ); Mon, 27 Nov 2023 08:27:55 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B5C6198 for ; Mon, 27 Nov 2023 05:28:01 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r7beF-0001b0-KC; Mon, 27 Nov 2023 14:27:39 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7beE-00BxH9-MI; Mon, 27 Nov 2023 14:27:38 +0100 Received: from pza by lupine with local (Exim 4.96) (envelope-from ) id 1r7beE-000DEU-1v; Mon, 27 Nov 2023 14:27:38 +0100 Message-ID: <9b3cdf0da11d59579cbf3ffe959c2a4ebba5672d.camel@pengutronix.de> Subject: Re: [RFC PATCH 8/8] net: ethernet: mtk_eth_soc: add paths and SerDes modes for MT7988 From: Philipp Zabel To: Daniel Golle , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Heiner Kallweit , Russell King , Alexander Couzens , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org Date: Mon, 27 Nov 2023 14:27:38 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 05:28:25 -0800 (PST) On Do, 2023-11-09 at 21:52 +0000, Daniel Golle wrote: > MT7988 comes with a built-in 2.5G PHY as well as SerDes lanes to > connect external PHYs or transceivers in USXGMII, 10GBase-R, 5GBase-R, > 2500Base-X, 1000Base-X and Cisco SGMII interface modes. > > Implement support for configuring for the new paths to SerDes interfaces > and the internal 2.5G PHY. > > Add USXGMII PCS driver for 10GBase-R, 5GBase-R and USXGMII mode, and > setup the new PHYA on MT7988 to access the also still existing old > LynxI PCS for 1000Base-X, 2500Base-X and Cisco SGMII PCS interface > modes. > > Signed-off-by: Daniel Golle > --- [...] > diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h > index 9ae3b8a71d0e6..ba5998ef7965e 100644 > --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h > +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h > @@ -15,6 +15,7 @@ > #include > #include > #include > +#include I can't see what this is required for? regards Philipp