From patchwork Mon May 25 13:30:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igal.Liberman" X-Patchwork-Id: 476282 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A4CA81402B9 for ; Tue, 26 May 2015 03:41:42 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 7F46A1A0DD4 for ; Tue, 26 May 2015 03:41:42 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0141.outbound.protection.outlook.com [65.55.169.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 7AF8C1A0773 for ; Tue, 26 May 2015 03:40:19 +1000 (AEST) Received: from CO2PR03CA0039.namprd03.prod.outlook.com (10.141.194.166) by DM2PR03MB383.namprd03.prod.outlook.com (10.141.55.17) with Microsoft SMTP Server (TLS) id 15.1.172.17; Mon, 25 May 2015 17:40:11 +0000 Received: from BN1BFFO11FD050.protection.gbl (2a01:111:f400:7c10::1:194) by CO2PR03CA0039.outlook.office365.com (2a01:111:e400:1414::38) with Microsoft SMTP Server (TLS) id 15.1.160.16 via Frontend Transport; Mon, 25 May 2015 17:40:09 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD050.mail.protection.outlook.com (10.58.145.5) with Microsoft SMTP Server (TLS) id 15.1.172.14 via Frontend Transport; Mon, 25 May 2015 17:40:08 +0000 Received: from b31950-Sun-Ultra-20-Workstation.fil.ea.freescale.net ([10.96.120.115]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t4PHe6pj022620; Mon, 25 May 2015 10:40:06 -0700 From: Igal.Liberman To: , Subject: [PATCH] powerpc/fsl: Add FMan Port 10G compatibles Date: Mon, 25 May 2015 16:30:46 +0300 Message-ID: <1432560646-19424-1-git-send-email-igal.liberman@freescale.com> X-Mailer: git-send-email 1.7.9.5 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD050; 1:U2v6mX5VMCdXmVO4bzqr6+1cZnOMQBc423ZCwKTlghm92ZKiq6Gq0YbRslAFwQuLRkZfhB2+QviaNrQPW4M7+cvnPaedNqmvKJ8/GswbrUANn6D6NNs50tVLgnjYikokEC8eRwe93Sqk4BjIVpF9RmvWNzCzhQrytZ0s3FTu8qi/dLKI4UcJo7eYJSMVEP3Rp0GKvciAVUwe4z6YE4Oz+vQn6U5VNvVhtAznUv4mrhlELfyN/1bzu2hX/GuYDKJqcGiHs9cwUXzLweSYnlmButza7Zgf8wm8aSGjTwvMI5AsYM3OJJxvKoxCSO5mzGAw6rsUnzcJ++2kzKwsLytvuw== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(189002)(199003)(85426001)(6806004)(5001770100001)(81156007)(189998001)(5001830100001)(5001860100001)(69596002)(87936001)(68736005)(77096005)(43066003)(97736004)(106466001)(46102003)(5001960100002)(104016003)(36756003)(4001540100001)(107886002)(33646002)(229853001)(50226001)(105606002)(64706001)(47776003)(53806999)(50986999)(48376002)(50466002)(77156002)(62966003)(19580395003)(86362001)(19580405001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR03MB383; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB383; 2:h7QcJ98/XzW8j49oMVg5rLMtt2V7bKouQV6lgntSdSmQpO0txc/F612TwUX+/krH; 2:ZLZHAF4KfBphZx5sqG9Mkrv/lbuwD5/K9JG40rbxdVCHRAtFnYxgf70AoNg5enlD5IC9Ipzq+tIAkeU1+LQcw1T3eYNmtMs4656UZnJhA/xmhRbf7T8jeY6tUX8jiiCASk/+S7aXH1KAAWC+C21ivq6XuwDMBp6cV7s3wVyfaFCsKV7iFUzexo/hGOkil1oGHDPc4y2/bn6Ovzyq8X4L0YO9J9mxEJ8GOOFxtV82+mw=; 6:ps5GaZfGxdrG6knbGgxl4X6+pqA8BR44lzE3xMbgVyjZJQ9zOt98H15sKb4DHs3fzVD4hIZGTSrbBI7W+cM7LIB9RmLA/RhnXy2cSvLy0zf9L7X+op06XPQYIkBB11qmsUW/Mi8jrQ/08Ss3IokylnpdhQbxu9ghUAmtSaDES4DnrTxIG08Wn2xuJe7WNpzWyciePULJWlZfRpyTjEMly3mf2kbk21JNBQ21+L2dG0nhv/ephjHcF76jOtHgKwiIk8OKWZTHIgwIV5kP07IcRBZDK5JpXCah6LuWHcndtgsl94wqd9ZZwu8Wg4/4J4Oz0YGtlOo5myewDemvnQfcfw==; 3:w2Sqm8CAHPCO+WXFUO1uXWN8UY+FGvasouMckrNgYAtsG7N0Uj/9PEfA/ERO4I3CDNF2sxSSL6ZCQsCxC1adG7W11o/cOCfUymY+HK2cXUsXTPPRmo6OROg9Irrfx+tWMtyFD9T5JE0YLS5VJocRTFetz9ErpsSbTsdV3TC4ihGdwprnxuDiX6mLke76sD1xerIYUA17qjKFv2EOo9WMiqwg+nRLiwQZjGTklLLQd0VCZQssGW5hD7c1OXCFnYfXZJWxX19Pg/7zMx6+zlh0via0ZX/NfiDZnc1jg5XXNf2J8amnDrbs6+VtyLpdP96r X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB383; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520002)(3002001); SRVR:DM2PR03MB383; BCL:0; PCL:0; RULEID:; SRVR:DM2PR03MB383; X-Forefront-PRVS: 058707456E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB383; 9:nbiFSKdsa06G4UE9e3W9iv8VVXYkFhn5kT3y4T5kpD+?= =?us-ascii?Q?jbt4sbjlGdnk1de8YPmhykhJaGFeu6UCtMzuGT09gQKByo3a9jlK0lepaCiG?= =?us-ascii?Q?t2RCg/Pgo69Vahi7AMqP+3fOCtf0aUAZSljudQfuTRMuJgSU62bkqdX5xust?= =?us-ascii?Q?Cv2LQrqoFtvd11oMH7Bn0hhKYWbcAKVZ3UoCvthB0teI2QQKUSXt/3pZYE1L?= =?us-ascii?Q?siWi6NHsJo6kHYDIdm3Gmb54ZjaWbBe3DP5ZBf8zeUOBJdM8+jGYbUNC/jyw?= =?us-ascii?Q?rn7bVGZbc01ZtIdSjMEPpWgmLQ8rYTP9NW3OZdvZ5CHYldE+mYX8XnMtEPbg?= =?us-ascii?Q?53Fm0AdQKgFumi4a9X/QuOIajMpR+evs/TDLl73w+gr7MLTxO9ba5qdStAuP?= =?us-ascii?Q?bu+3pPHKmHVTLFKxe7bhinxy4SCQIp2O1ih9cK42jHkDcOj5c8z/h1yBNQJK?= =?us-ascii?Q?HIzZKA/HSBKNEUp0OD/8wraFh7jT9v73Eq6brrAox9nm9tvDjjbOg1wwhtu2?= =?us-ascii?Q?rzEaCItsoGuoidKRLB9725KbNRzYnOBZ47Pyvi3KHZ43UwrdHjnqopqzB5Z5?= =?us-ascii?Q?yA0vO0bAcVxOUp+VPtzWImTUOlcJkjHnny5e21x0VQnNdfo65fN6OoP+G1JX?= =?us-ascii?Q?gEaU84GmmKTZzOa6ca1z16tgYiGIGTF8w2d7hzY0CYrz2oOlyfeVN6eGoBK3?= =?us-ascii?Q?HcD8WMSO2X/O51ZYWhalnHP8X1izdDowhaMXCjXHjBXqxcYZsyJLMBTWKmY+?= =?us-ascii?Q?rzhIOtZDMlqZSUq9JjIZRyiMiAha1tvJoaFOWlvWCK4pRSlTcmZQKgIjP9ll?= =?us-ascii?Q?oSMLFa3+ZZaw0G1OF+LxNF+OeTNLI4KyIr5zpaw2KDa7AaDhp4B1SJn1Oo7c?= =?us-ascii?Q?XFDOkSoYRQ4wdsUScmk8sg4+sdi7esEoRDy4+pANt6z9mukc4k6ytIJ57Hhd?= =?us-ascii?Q?EFQjcyIoDMNbP+HE7257R2bTDJqqVj3d1dJv07/PldtKgT+WJE4ka93ZKOzn?= =?us-ascii?Q?3T/BWEtHRf30YCZGYVBW8UsWHjyZCejIChtFJW3Atg9pA014BN601kycr3FU?= =?us-ascii?Q?AE09BfbCA3Cg+e2ua1akQ3ubm?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB383; 3:Sly66u9RxZJ7FFrDicOeQrTKL4OPjBpsKaEdB7vIL5MVq9gNrVZrddFp9dz8Ehcyp0CIeoC5cztxeHEhgdGXD8DYDIAixOkJJmlsut6Ho03Uo3O7ulm6rZIMa9a00/JpfYDjgReI6J4DkLXr6UrFYQ==; 10:a8J6iUhb/8wLSJ0guV7m2TR/Na9kQM2O3KwRxnbn9y9PBpraiz/wJeS+V3AELyDmgS5FnBQoBdPT8MNd724uhqU1UcAa81bNz+tmopiKhRk=; 6:e9b3AS4BJMjKyuBdgKTfvtwjp5jEeqVphi2u/X5qGWxemzv6mOG/aXyuN+JHjdY/ X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2015 17:40:08.8216 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB383 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: igal.liberman@freescale.com Cc: scottwood@freescale.com, Igal Liberman , madalin.bucur@freescale.com Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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. + +- 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 {