From patchwork Fri Aug 15 09:49:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "bhupesh.sharma@freescale.com" X-Patchwork-Id: 4726691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 00803C0338 for ; Fri, 15 Aug 2014 09:53:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 251DB201F7 for ; Fri, 15 Aug 2014 09:53:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CE9D201F5 for ; Fri, 15 Aug 2014 09:53:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XIE9u-0006Vi-SU; Fri, 15 Aug 2014 09:50:54 +0000 Received: from mail-bn1blp0190.outbound.protection.outlook.com ([207.46.163.190] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XIE9h-0006Gq-GZ for linux-arm-kernel@lists.infradead.org; Fri, 15 Aug 2014 09:50:42 +0000 Received: from BY2PR03CA046.namprd03.prod.outlook.com (10.141.249.19) by BLUPR03MB214.namprd03.prod.outlook.com (10.255.212.151) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Fri, 15 Aug 2014 09:50:18 +0000 Received: from BN1AFFO11FD025.protection.gbl (2a01:111:f400:7c10::123) by BY2PR03CA046.outlook.office365.com (2a01:111:e400:2c5d::19) with Microsoft SMTP Server (TLS) id 15.0.1010.18 via Frontend Transport; Fri, 15 Aug 2014 09:50:17 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD025.mail.protection.outlook.com (10.58.52.85) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Fri, 15 Aug 2014 09:50:17 +0000 Received: from b45370.ap.freescale.net ([10.214.249.36]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s7F9nIOC000811; Fri, 15 Aug 2014 02:50:11 -0700 From: Bhupesh Sharma To: , Subject: [PATCH 3/6] Documentation: DT: Add entry for FSL Management Complex Date: Fri, 15 Aug 2014 15:19:12 +0530 Message-ID: <1408096156-29772-4-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1408096156-29772-1-git-send-email-bhupesh.sharma@freescale.com> References: <1408096156-29772-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(189002)(199003)(6806004)(44976005)(19580405001)(83322001)(50466002)(89996001)(21056001)(48376002)(74502001)(84676001)(69596002)(68736004)(19580395003)(88136002)(92566001)(92726001)(86362001)(85852003)(575784001)(93916002)(83072002)(106466001)(81156004)(50226001)(105606002)(229853001)(95666004)(107046002)(31966008)(85306004)(104016003)(33646002)(4396001)(64706001)(76482001)(81342001)(80022001)(62966002)(77982001)(102836001)(20776003)(79102001)(81542001)(47776003)(76176999)(99396002)(50986999)(87936001)(97736001)(46102001)(104166001)(77156001)(74662001)(26826002)(36756003)(87286001); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR03MB214; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0304E36CA3 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; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=bhupesh.sharma@freescale.com; X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140815_025041_714946_520B7E4A X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: arnd@arndb.de, Bhupesh Sharma , "J. German Rivera" , Will.Deacon@arm.com, stuart.yoder@freescale.com, grant.likely@secretlab.ca, arnab.basu@freescale.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a devicetree binding documentation for FSL's Management Complex. Management Complex is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications Signed-off-by: Bhupesh Sharma Signed-off-by: Stuart Yoder Signed-off-by: J. German Rivera --- .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt new file mode 100644 index 0000000..608529e --- /dev/null +++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt @@ -0,0 +1,40 @@ +* Freescale Management Complex + +The Freescale Management Complex (fsl-mc) is a hardware resource +manager that manages specialized hardware objects used in +network-oriented packet processing applications. After the fsl-mc +block is enabled, pools of hardware resources are available, such as +queues, buffer pools, I/O interfaces. These resources are building +blocks that can be used to create functional hardware objects/devices +such as network interfaces, crypto accelerator instances, L2 switches, +etc. + +Required properties: + + - compatible + Value type: + Definition: Must be "fsl,qoriq-mc". A Freescale Management Complex + compatible with this binding must have Block Revision + Registers BRR1 and BRR2 at offset 0x0BF8 and 0x0BFC in + the MC control register region. + + - reg + Value type: + Definition: A standard property. Specifies one or two regions + defining the MC's registers: + + -the first region is the command portal for the + this machine and must always be present + + -the second region is the MC control registers. This + region may not be present in some scenarios, such + as in the device tree presented to a virtual machine. + +Example: + + fsl_mc: fsl-mc@80c000000 { + compatible = "fsl,qoriq-mc"; + reg = <0x00000008 0x0c000000 0 0x40 // MC portal base + 0x00000000 0x08340000 0 0x40000 >; // MC control reg + }; +