Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4441588pxu; Wed, 9 Dec 2020 18:00:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxknYPEMYk47e+GqEpwI1L0HMbSqMRuR//XDD8X9bxSx6Mf2rXxWvhhXcGrQ+1Wvy8ngqSG X-Received: by 2002:a50:ab59:: with SMTP id t25mr4648343edc.364.1607565619216; Wed, 09 Dec 2020 18:00:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607565619; cv=none; d=google.com; s=arc-20160816; b=GpbuqcL9GKXoPnldcvVwdASIrmCG6sfAdUH3CcqYsgj2R6PxyJeqB2C/66BlrjQRZD Th7w2NF3a8dyvBrrWEvfr4FLAetrhVJ3UpEWTqUp4SsI8HWeg0aLwxoKycumtgWSyH4K bnwYYP5aJCEMduykvRuMT0Wbr106nvFqqLqF9GMEk2Oh59M+LMdq0/JlGwcE3dcK8kwO IUm3pLZTXsgb/hO1Gd9aEujXrj/v1u6uWanB1Mk8jTPqCeTWgRiqW7i+iMQqtsu4J3nD W5OZN++GP0/+ISQT7JVvPwcf8XQZnFThdTzf8JsW5XxLFo9vY5BiDJGlJMGvWstzMu74 Xdnw== 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=qQuGxz1uT6s0QU0jOSFyTOOeUfVcUyS/7fTqoMv2iwY=; b=L/QCBg4xwenTTwsoEU9ZbXVx9lYMxG5Mi/8Wqs5EeclsfknIK2rkyhmkQeF3dTaYCO 273WKawZ7YWZdX3zSMzKOCXn+fYlqmHfPCeIzhe+IdX0z10SINZWZQ4Qtmor/RT1ithD CsRmhNIoHKBoLJTerO7vsmiKXebhBowWmgZMmFWMfnIIx2VZY12XdWnOi2JkLgOYeGJs q7gZuZWHjStNSbQ6ZeL2IctNrUJDG0MI/yeEe26BJZgS3l7KPeO634lBrZFcOCV7L0ej hZBkOcdYWtgM+Xr2bxfxsTu1L3ARaOC7Cd3AMa6GvTzOT2D8o4ScSwkXYYP+1p5a/bwn jZVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb5si1949455edb.393.2020.12.09.17.59.55; Wed, 09 Dec 2020 18:00:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388539AbgLIXTB (ORCPT + 99 others); Wed, 9 Dec 2020 18:19:01 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:47464 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728504AbgLIXTB (ORCPT ); Wed, 9 Dec 2020 18:19:01 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kn8iq-00B8MX-Mf; Thu, 10 Dec 2020 00:18:12 +0100 Date: Thu, 10 Dec 2020 00:18:12 +0100 From: Andrew Lunn To: Pavana Sharma Cc: ashkan.boldaji@digi.com, clang-built-linux@googlegroups.com, davem@davemloft.net, devicetree@vger.kernel.org, f.fainelli@gmail.com, gregkh@linuxfoundation.org, kbuild-all@lists.01.org, kuba@kernel.org, linux-kernel@vger.kernel.org, lkp@intel.com, marek.behun@nic.cz, netdev@vger.kernel.org, robh+dt@kernel.org, vivien.didelot@gmail.com Subject: Re: [PATCH v11 2/4] net: phy: Add 5GBASER interface mode Message-ID: <20201209231812.GG2649111@lunn.ch> References: <7d0e7609149c4e9c3295eff3323fdea92a4abc89.1607488953.git.pavana.sharma@digi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d0e7609149c4e9c3295eff3323fdea92a4abc89.1607488953.git.pavana.sharma@digi.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 03:04:23PM +1000, Pavana Sharma wrote: > Add 5GBASE-R phy interface mode > > Signed-off-by: Pavana Sharma > --- > include/linux/phy.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/phy.h b/include/linux/phy.h > index 56563e5e0dc7..8151e6ecf1b9 100644 > --- a/include/linux/phy.h > +++ b/include/linux/phy.h > @@ -106,6 +106,7 @@ extern const int phy_10gbit_features_array[1]; > * @PHY_INTERFACE_MODE_TRGMII: Turbo RGMII > * @PHY_INTERFACE_MODE_1000BASEX: 1000 BaseX > * @PHY_INTERFACE_MODE_2500BASEX: 2500 BaseX > + * @PHY_INTERFACE_MODE_5GBASER: 5G BaseR > * @PHY_INTERFACE_MODE_RXAUI: Reduced XAUI > * @PHY_INTERFACE_MODE_XAUI: 10 Gigabit Attachment Unit Interface > * @PHY_INTERFACE_MODE_10GBASER: 10G BaseR > @@ -137,6 +138,8 @@ typedef enum { > PHY_INTERFACE_MODE_TRGMII, > PHY_INTERFACE_MODE_1000BASEX, > PHY_INTERFACE_MODE_2500BASEX, > + /* 5GBASE-R mode */ > + PHY_INTERFACE_MODE_5GBASER, > PHY_INTERFACE_MODE_RXAUI, > PHY_INTERFACE_MODE_XAUI, For v10 i said: > Again, what is the value of the comment? 10GBASE-R has a comment > because it is different from the rest, XFI and SFI caused a of > discussion, and it was used wrong. But there does not seem to be > anything special for 5GBASE-R. Please don't ignore comments. If you don't understand, please ask. If you think the comments are wrong, please explain why, so we can discuss it. Andrew