Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp978831rdb; Wed, 6 Dec 2023 05:38:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyQtUxvEHOXbtu8MOr8MLh0RiYuyLMy+UURbxNs/UbWmd3aB0FMLSjuzKxZcmNquB7SNDX X-Received: by 2002:a05:6a20:be9e:b0:18a:e176:87e9 with SMTP id gf30-20020a056a20be9e00b0018ae17687e9mr530814pzb.15.1701869903277; Wed, 06 Dec 2023 05:38:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701869903; cv=none; d=google.com; s=arc-20160816; b=TFYe/VUqeHTOlTRdRLHSg7KmfQyRUStBb8onPUTgqfj7BLhoGH3ZMYkhqLGSO0Svoh D9d20P7FRTJeZvOcWZt9FFJtw6sft8c2BNLn0Vujc96biHynlwqeoxIoM8MMBrNqhUUt lHBc7vGqigI9lHovePRjTzwfu+r1aqu+twYHaIBHpCB9Bu/Gb1Xuv58cZDmvM98pfFK6 /gPKA9nntCNQW3Iadh36WK3hw8g41/VqjvVUrQmRKTSI41k2A+kQBMKq7ne89HWPEWsb o5Vn96laCadmTLkHf3EXmyjHZEY2uJyX4RhmF2R/aySOkdT807VM3tu3VcgHLPmU987r 41rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=e/GIlqIhuQ94Se2lL/7MsecU3jQb2T3hNjdH/TZIn+M=; fh=Rgs5iMvE7gDmayBs87skmlUfYwkNz77W/qv/kK5HHY8=; b=VR5qOqm77MtLAJyeYTF5j+X8Uf9MFkt5U20bDyKnYhNR3Hp2U94hJ0rN/4S91CZCSU OcBlNBIc50798BcCuNN5bg1dxNBeWsRKBICw1mG7kVLHuX/sURYsVe06FcQwaSQh1IRw 90jLwZxgiTHUOtA+g6vSfE0UWnWvdd23B8j2+K2aUy/golG1WFZFZucrjWLbJ0OEw7I9 7innkP2hnWXWSJA9AVRGP9icEXKashHAcuUjiutwO2tQ3eUc90nMpRe6vmx2m5RkJTrA Ir8gDY7Xyn+iQr4W6ifv0rco/aBQTnJnGTL/0BnGyE1E4TSzTZtGJYNouD1kIz3e1CFx eoQA== 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 q2-20020a056a00150200b006cb5f680e22si6974656pfu.389.2023.12.06.05.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 05:38:23 -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 DFC808031E77; Wed, 6 Dec 2023 05:38:20 -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 S1378576AbjLFNiG (ORCPT + 99 others); Wed, 6 Dec 2023 08:38:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378513AbjLFNiF (ORCPT ); Wed, 6 Dec 2023 08:38:05 -0500 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05789C7; Wed, 6 Dec 2023 05:38:12 -0800 (PST) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rAs5y-00060R-13; Wed, 06 Dec 2023 13:37:47 +0000 Date: Wed, 6 Dec 2023 13:37:43 +0000 From: Daniel Golle To: Rob Herring Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , 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 , Qingfang Deng , SkyLake Huang , Philipp Zabel , 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 Subject: Re: [RFC PATCH v2 5/8] net: pcs: add driver for MediaTek USXGMII PCS Message-ID: References: <3cd8af5e44554c2db2d7898494ee813967206bd9.1701826319.git.daniel@makrotopia.org> <20231206133403.GA1894508-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206133403.GA1894508-robh@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]); Wed, 06 Dec 2023 05:38:21 -0800 (PST) On Wed, Dec 06, 2023 at 07:34:03AM -0600, Rob Herring wrote: > On Wed, Dec 06, 2023 at 01:44:38AM +0000, Daniel Golle wrote: > > Add driver for USXGMII PCS found in the MediaTek MT7988 SoC and supporting > > USXGMII, 10GBase-R and 5GBase-R interface modes. In order to support > > Cisco SGMII, 1000Base-X and 2500Base-X via the also present LynxI PCS > > create a wrapped PCS taking care of the components shared between the > > new USXGMII PCS and the legacy LynxI PCS. > > > > Signed-off-by: Daniel Golle > > --- > > .../bindings/net/pcs/mediatek,usxgmii.yaml | 46 +- > > Why are you changing the binding you just added? Oh, that change slipped into the wrong commit by accident, sorry about that, I will fix it in the next iteration. > > In any case, bindings are separate patches. > > > MAINTAINERS | 2 + > > drivers/net/pcs/Kconfig | 11 + > > drivers/net/pcs/Makefile | 1 + > > drivers/net/pcs/pcs-mtk-usxgmii.c | 413 ++++++++++++++++++ > > include/linux/pcs/pcs-mtk-usxgmii.h | 26 ++ > > 6 files changed, 456 insertions(+), 43 deletions(-) > > create mode 100644 drivers/net/pcs/pcs-mtk-usxgmii.c > > create mode 100644 include/linux/pcs/pcs-mtk-usxgmii.h