Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8088555rwr; Wed, 10 May 2023 17:57:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eu31vtpVuyziVaOpSVhGPmYLyfy0sB+WCFhYKhV7sQ7no5EImO45Ikh1b29sy+Q6498E/ X-Received: by 2002:a17:902:d483:b0:1ac:896f:f655 with SMTP id c3-20020a170902d48300b001ac896ff655mr12811234plg.50.1683766665366; Wed, 10 May 2023 17:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683766665; cv=none; d=google.com; s=arc-20160816; b=B7ZVXABVduu9nyUb1JtOgz7//z+xvjKoUD6aha75zF0McPQn4v3+aE2lgLij9cfe1+ 90oYu5Necdstbb/U4eK3N03HEceBLAk3Gj8coFppf9GUWAj1viOY7xop2VhQNbBiB/X0 55FR/xJqKI0gDdKseDVEz1sxIxEBsvfNFJsu3l+UoP1TrBRXZsXCknu1JKCQLTJ8tpyD JWq7sfL8NFxqEiut2iyK1Yr7rsCIpFJK63mX8ZwEQBPbMi23P64MIOxl1dfekCks4tl3 7V8/WPJS2NdEMthJjKLR4zfdAifyriQq2RFFeSIi6fmWGN0mlrDKOQP5Zmd3IBi4w3++ zQRA== 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:dkim-signature; bh=4JJXcqBDbJjzxIkgLA7FlH9N5azmesuHkAzWKMT0kxw=; b=wY0vkk2y0Y4oNlRA1xOUCGAOIw1uYjmUVV8cxlfS0KEydLukJrURE9tyWsrE4bNphF GApqkPFAGpYJG5TVgXz94JY/w9ObDtvLZqKW2+oUj/SATu3F1+eCsovoBwLH7/OYUss2 GA5yUQEFlpwlWm2ZZrKdJBy7QwjP1wjvyVGVI0tGlF2luf0UjXuqWZH5b57rL7h6kHRI Knsn1PtE4en7nbseKpWLgyepi174ADu+1pcIDTjVSiQTuRcqbYkDCw+UHZfCza08kqm7 FyLyM7UMyTibpZitYTQVBsUWqeLXeIXIKSL6ISb7/VZ0v4yT/wGwj1Splkq5GQrlEQFu EN/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=YeFjpCsD; 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=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a170903125200b001ac6e1fd203si5560784plh.180.2023.05.10.17.57.33; Wed, 10 May 2023 17:57:45 -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=@lunn.ch header.s=20171124 header.b=YeFjpCsD; 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=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbjEKAi0 (ORCPT + 99 others); Wed, 10 May 2023 20:38:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjEKAiY (ORCPT ); Wed, 10 May 2023 20:38:24 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0C7E55BE; Wed, 10 May 2023 17:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=4JJXcqBDbJjzxIkgLA7FlH9N5azmesuHkAzWKMT0kxw=; b=YeFjpCsDdV47pza6aYnTnCunPm iy0cbh71sjxhP2TqmpBPToW6PDQT6hYDdU7eff9uLytezk4C3lVX33BLfA8GS66HhPnnbhqisn/BE w9IZuIpIsuLdMJ2r3RSm7rxa67HRnjK6Hkw5TSg8Cn5iTktE62K6/hdsMCJXm522AOls=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pwuK3-00CUtn-Re; Thu, 11 May 2023 02:38:19 +0200 Date: Thu, 11 May 2023 02:38:19 +0200 From: Andrew Lunn To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , AngeloGioacchino Del Regno Subject: Re: [PATCH 1/8] net: phy: realtek: rtl8221: allow to configure SERDES mode Message-ID: <8fdffc76-4b2f-44ea-9800-1e5d3624d94e@lunn.ch> References: <302d982c5550f10d589735fc2e46cf27386c39f4.1683756691.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <302d982c5550f10d589735fc2e46cf27386c39f4.1683756691.git.daniel@makrotopia.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 > +#define RTL8221B_SERDES_OPTION_MODE_2500BASEX_SGMII 0 > +#define RTL8221B_SERDES_OPTION_MODE_HISGMII_SGMII 1 > +#define RTL8221B_SERDES_OPTION_MODE_2500BASEX 2 So what is 2500BASEX_SGMII? You cannot run SGMII at 2.5G, because there is no way to repeat a symbol 2.5 times so that a 1G stream takes up 2.5G bandwidth. The SGMII signalling also does not work at 2.5G. Please add an explanation what this actually is. Andrew