Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1928099rwb; Wed, 26 Jul 2023 22:39:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlE3sLP+SsBqL33BBAZ4TiQWI5QQ2D+fXJA5EhFKNxqbhV9z6vbB7Nm98a2zLIMCg0dhC12S X-Received: by 2002:a05:6a20:6a1c:b0:138:1980:1837 with SMTP id p28-20020a056a206a1c00b0013819801837mr5371750pzk.13.1690436381262; Wed, 26 Jul 2023 22:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690436381; cv=none; d=google.com; s=arc-20160816; b=sfdZK0TOlm3mgaSBGo2NIuJAxNY5VEmbEmW10+OTnA3CmmYA74qbNwOjtpZLuWdJ3S xozreBuEOz2YjW95kISW0kFNGn1yPVda6K1Tw9GUKomdJbr69pcp8uL89raUYGmRnyba EEaFyZyyKRvdUWyMCeRyEcgtW5teMJhByXQrs7Ems5yBRgiH0AxvsdmZWoZ2qI6RUwpF 6s0J0X9YAD4WHBvFpOis+7weqxIaSnlH1lU8LViw+DkSTzrSRAiwQhM3kd6mvTSobvAQ a/4KWgfL6v9Bs6pKGKgO/Y1mscIRZMcABkTOP5r0sWg1k9FA0j+K971HgVmAlmQnAec1 zEEA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=cpB8FunqnyFPgVxL+87HsNcuc7Et8PX72oCQ94PfQUs=; fh=9DXkUL2XeiE3KSyLqr5K7zZ/727riX65Kr9Erv87mh8=; b=1BE9w1pHwd+1iCasu6Gv3sswf+S67k8DZIQyo18C0UP3OOfEMzjjqyvN7t1WHSTvNq 0M448MXqhCA1704oN92goSAo7/2PI7e+rtffp+PtSRbzYOZ7+HYsxD486PRm4tb9yGB9 SXeMZ2T0M6hNg7z0omrHBGL2uFfS6DnjtAXh8xw9oz4QxUcZt/Fr6WnTSufrqp8iKscE SZT3JyTejDdcAvIOPOyYOhnWm904FDCssznBil8NPWeXuC65gMJBWbpOK8S+vBBudCT3 NqXUss8yLi0u7zZxIGCZQRGQz90UrhchEewjz8v0P94GSbk9eWXm62iTgHc81McN9FRG 4nGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u7MpNZdj; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a056a00134c00b0066e96a581c3si784247pfu.5.2023.07.26.22.39.29; Wed, 26 Jul 2023 22:39:41 -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=@kernel.org header.s=k20201202 header.b=u7MpNZdj; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231304AbjG0FHf (ORCPT + 99 others); Thu, 27 Jul 2023 01:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbjG0FHe (ORCPT ); Thu, 27 Jul 2023 01:07:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A7926A6; Wed, 26 Jul 2023 22:07:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B3E4161B11; Thu, 27 Jul 2023 05:07:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49E3DC433C7; Thu, 27 Jul 2023 05:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690434452; bh=cu24BaSm7VP+M85cUQ+qtwEsAD/RBo9rNcVLe3xa3fo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=u7MpNZdjK9fIYG2Pm23NLI7mZ3K/ANtsyc1c9bdh/SW1J9LKevMEUip+NbtDDOf// D5f+QXcGPKpxao454lTjfOErll5zWqeONgsBqbWLoE5kk+asdbstSZfADqGFma+Huu slsZjURasGfqLtK9Z+GdkrNK9pymB5jlRoRrbwHOZBJOvFl/7dr3crLLQnsEkJa68g HlVB+M/xTdoUteD9iMKyNxAPrHSJnnEG0JXvjtV1AkGL/IU9YbdhxxNL45Xrj3DaJF d4mpBfzc7TbyNNsyn2zVuJtuI5/G6uzhns67xPHWVP4hECjISAq/mGH65DnL8sxi+F K9DlyBwGMn/og== Date: Wed, 26 Jul 2023 22:07:30 -0700 From: Jakub Kicinski To: Daniel Golle Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Greg Ungerer , =?UTF-8?B?QmrDuHJu?= Mork , Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v6 0/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC Message-ID: <20230726220730.6f78c790@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Tue, 25 Jul 2023 01:51:00 +0100 Daniel Golle wrote: > The MediaTek MT7988 SoC introduces a new version (3) of the NETSYS > block and comes with three instead of two MACs. > > The first MAC can be internally connected to a built-in Gigabit > Ethernet switch with four 1000M/100M/10M twisted pair user ports. > > The second MAC can be internally connected to a built-in 2500Base-T > Ethernet PHY. > > There are two SerDes units which can be operated in USXGMII, 10GBase-(K)R, > 5GBase-R, 2500Base-X, 1000Base-X or SGMII interface mode. > > This series adds initial support for NETSYS v3 and the first MAC of the > MT7988 SoC connecting the built-in DSA switch. > > The switch is supported since commit 110c18bfed414 ("net: dsa: mt7530: > introduce driver for MT7988 built-in switch"). > > Basic support for the 1000M/100M/10M built-in PHYs connected to the > switch ports is present since commit ("98c485eaf509b net: phy: add > driver for MediaTek SoC built-in GE PHYs"). This was dangerously close to Russell's recent work. Do double check that I haven't fumbled applying it..