linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/fsl: Add FMan Port 10G compatibles
@ 2015-05-25 13:30 Igal.Liberman
  2015-05-29  1:14 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Igal.Liberman @ 2015-05-25 13:30 UTC (permalink / raw)
  To: devicetree, linuxppc-dev; +Cc: scottwood, madalin.bucur, Igal Liberman

From: Igal Liberman <igal.liberman@freescale.com>

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 <igal.liberman@freescale.com>

---
 .../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.
+
+- 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).
+
 EXAMPLE
 
 port@a8000 {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: powerpc/fsl: Add FMan Port 10G compatibles
  2015-05-25 13:30 [PATCH] powerpc/fsl: Add FMan Port 10G compatibles Igal.Liberman
@ 2015-05-29  1:14 ` Scott Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2015-05-29  1:14 UTC (permalink / raw)
  To: Igal.Liberman; +Cc: devicetree, linuxppc-dev, madalin.bucur

On Mon, May 25, 2015 at 04:30:46PM +0300, Igal.Liberman wrote:
> From: Igal Liberman <igal.liberman@freescale.com>
> 
> 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 <igal.liberman@freescale.com>
> ---
>  .../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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-29  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25 13:30 [PATCH] powerpc/fsl: Add FMan Port 10G compatibles Igal.Liberman
2015-05-29  1:14 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).