devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Igal.Liberman <igal.liberman@freescale.com>
To: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Cc: scottwood@freescale.com,
	Igal Liberman <igal.liberman@freescale.com>,
	madalin.bucur@freescale.com
Subject: [v2] powerpc/fsl: Add FMan Port 10G compatibles
Date: Mon, 1 Jun 2015 15:06:51 +0300	[thread overview]
Message-ID: <1433160411-27621-1-git-send-email-igal.liberman@freescale.com> (raw)

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.

v2 - Addressed feedback from Scott:
	Replaced "10G-support" with "fsl,fman-10g-port"
	Replaced "best-effort-port" with "fsl,fman-best-effort-port"

Signed-off-by: Igal Liberman <igal.liberman@freescale.com>
Change-Id: If1ac160fbedc0cfd058f46ae8d8e3a50d3ecebb2
---
 .../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..1fc5328 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.
 
+- fsl,fman-10g-port
+		Usage: optional
+		Value type: boolean
+		Definition: The default port rate is 1G.
+		If this property exists, the port is s 10G port.
+
+- fsl,fman-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 (10G port that
+		may not be capable of line rate).
+
 EXAMPLE
 
 port@a8000 {
-- 
1.7.9.5

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

                 reply	other threads:[~2015-06-01 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433160411-27621-1-git-send-email-igal.liberman@freescale.com \
    --to=igal.liberman@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=madalin.bucur@freescale.com \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).