From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0441FC7EE22 for ; Thu, 11 May 2023 00:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236150AbjEKAi1 (ORCPT ); Wed, 10 May 2023 20:38:27 -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> 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