Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538918

Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for XLGMII

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for XLGMII
Date 2016-12-08 23:20 +0100
Message-ID <sMfcK-3mi-7@gated-at.bofh.it> (permalink)
References <sLByF-2XJ-1@gated-at.bofh.it> <sLByG-2XJ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/06/2016 07:57 PM, Jie Deng wrote:
> This patch adds phy-mode support for Synopsys XLGMAC

The functional changes look good, but I would like to see some
description of what the XL part stands for here.

While you are modifying this, do you also mind submitting a Device Tree
specification change:

https://www.devicetree.org/specifications/

Thanks!

> 
> Signed-off-by: Jie Deng <jiedeng@synopsys.com>
> ---
>  Documentation/devicetree/bindings/net/ethernet.txt | 1 +
>  include/linux/phy.h                                | 3 +++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt
> index 0515095..2378f00 100644
> --- a/Documentation/devicetree/bindings/net/ethernet.txt
> +++ b/Documentation/devicetree/bindings/net/ethernet.txt
> @@ -28,6 +28,7 @@ The following properties are common to the Ethernet controllers:
>    * "rtbi"
>    * "smii"
>    * "xgmii"
> +  * "xlgmii"
>    * "trgmii"
>  - phy-connection-type: the same as "phy-mode" property but described in ePAPR;
>  - phy-handle: phandle, specifies a reference to a node representing a PHY
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index feb8a98..b52f9f8 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -79,6 +79,7 @@
>  	PHY_INTERFACE_MODE_RTBI,
>  	PHY_INTERFACE_MODE_SMII,
>  	PHY_INTERFACE_MODE_XGMII,
> +	PHY_INTERFACE_MODE_XLGMII,
>  	PHY_INTERFACE_MODE_MOCA,
>  	PHY_INTERFACE_MODE_QSGMII,
>  	PHY_INTERFACE_MODE_TRGMII,
> @@ -136,6 +137,8 @@ static inline const char *phy_modes(phy_interface_t interface)
>  		return "smii";
>  	case PHY_INTERFACE_MODE_XGMII:
>  		return "xgmii";
> +	case PHY_INTERFACE_MODE_XLGMII:
> +		return "xlgmii";
>  	case PHY_INTERFACE_MODE_MOCA:
>  		return "moca";
>  	case PHY_INTERFACE_MODE_QSGMII:
> 


-- 
Florian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 1/2] net: phy: add extension of phy-mode for XLGMII Jie Deng <Jie.Deng1@synopsys.com> - 2016-12-07 05:00 +0100
  Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for  XLGMII Florian Fainelli <f.fainelli@gmail.com> - 2016-12-08 23:20 +0100
    Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for  XLGMII Jie Deng <Jie.Deng1@synopsys.com> - 2016-12-09 06:20 +0100
      Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for  XLGMII Andrew Lunn <andrew@lunn.ch> - 2016-12-09 17:40 +0100
        Re: [PATCH net-next 1/2] net: phy: add extension of phy-mode for  XLGMII Jie Deng <Jie.Deng1@synopsys.com> - 2016-12-10 03:20 +0100

csiph-web