From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0143.outbound.protection.outlook.com [207.46.100.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 74E5D1A0072 for ; Fri, 29 May 2015 11:14:41 +1000 (AEST) Date: Thu, 28 May 2015 20:14:26 -0500 From: Scott Wood To: Igal.Liberman CC: , , Subject: Re: powerpc/fsl: Add FMan Port 10G compatibles Message-ID: <20150529011426.GA9903@home.buserror.net> References: <1432560646-19424-1-git-send-email-igal.liberman@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <1432560646-19424-1-git-send-email-igal.liberman@freescale.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, May 25, 2015 at 04:30:46PM +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch adds two boolean properties to FMan Port. > FMan has 3 types of ports: > - 1G ports > By default, all ports support 1G rate > - 10G Ports > Port which use 10G hardware, and configured as 10G > - 10G Best effort ports > Ports which use 1G hardware, configured as 10G, in this case, > the rate is not guaranteed. > The new properties help to distinguish the different type of ports. > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/powerpc/fsl/fman.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt > index edda55f..76a7cba 100644 > --- a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt > +++ b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt > @@ -189,6 +189,19 @@ PROPERTIES > Definition: There is one reg region describing the port > configuration registers. > > +- 10G-support > + Usage: optional > + Value type: boolean > + Definition: The default port rate is 1G. > + If this property exists, the port is configured as 10G port. fsl,fman-10g-port s/is configured as 10G port/is a 10G port/ > +- best-effort-port > + Usage: optional > + Value type: boolean > + Definition: Can be defined only if 10G-support is set. > + This property marks a best-effort 10G port (1G hardware > + configured as 10G, 10G rate is not guaranteed). fsl,fman-best-effort-port s/1G hardware configured as 10G/10G port that may not be capable of line rate/ or something along those lines. -Scott