From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 58BD71A01DB for ; Wed, 29 Oct 2014 01:41:30 +1100 (AEDT) Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.11.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D1A65140076 for ; Wed, 29 Oct 2014 01:41:29 +1100 (AEDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH v2 2/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan portal(s) From: Kumar Gala In-Reply-To: <1414487751-31568-3-git-send-email-Emilian.Medve@Freescale.com> Date: Tue, 28 Oct 2014 09:41:24 -0500 Message-Id: <044D58B4-690A-4CEA-B2DB-8AF4549D4AE2@codeaurora.org> References: <1414487751-31568-1-git-send-email-Emilian.Medve@Freescale.com> <1414487751-31568-3-git-send-email-Emilian.Medve@Freescale.com> To: Emil Medve Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, Geoff.Thorpe@Freescale.com, corbet@lwn.net, linux-doc@vger.kernel.org, linuxppc-dev@ozlabs.org, grant.likely@linaro.org, robh+dt@kernel.org, scottwood@Freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Oct 28, 2014, at 4:15 AM, Emil Medve = wrote: > Portals are memory mapped interfaces to BMan that allow low-latency, > lock-less interaction by software running on processor cores, = accelerators > and network interfaces with the BMan >=20 > Signed-off-by: Emil Medve > Change-Id: I6d245ffc14ba3d0e91d403ac7c3b91b75a9e6a95 > --- > .../bindings/powerpc/fsl/bman-portals.txt | 52 = ++++++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 = Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt >=20 > diff --git = a/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt = b/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt similar comment about location of binding not being PPC specific. > new file mode 100644 > index 0000000..02e0231 > --- /dev/null > +++ b/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt > @@ -0,0 +1,52 @@ > +QorIQ DPAA Buffer Manager Portals Device Tree Binding > + Probably worth putting the text from the commit message here as well. > +Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. > + > +CONTENTS > + > + - BMan Portal > + - Example > + > +BMan Portal Node > + > +PROPERTIES > + > +- compatible > + Usage: Required > + Value type: > + Definition: Must include "fsl,bman-portal-" > + May include "fsl,-bman-portal" or = "fsl,bman-portal" > + > +- reg > + Usage: Required > + Value type: > + Definition: Two regions. The first is the cache-enabled = region of > + the portal. The second is the cache-inhibited = region of > + the portal > + > +- interrupts > + Usage: Required > + Value type: > + Definition: Standard property > + > +EXAMPLE > + > +The example below shows a (P4080) BMan portals container/bus node = with two portals > + > + bman-portals@ff4000000 { > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + compatible =3D "simple-bus"; > + ranges =3D <0 0xf 0xf4000000 0x200000>; > + > + bman-portal@0 { > + compatible =3D "fsl,bman-portal-1.0.0", = "fsl,bman-portal"; > + reg =3D <0x0 0x4000>, <0x100000 0x1000>; > + interrupts =3D <105 2 0 0>; > + }; > + bman-portal@4000 { > + compatible =3D "fsl,bman-portal-1.0.0", = "fsl,bman-portal"; > + reg =3D <0x4000 0x4000>, <0x101000 0x1000>; > + interrupts =3D <107 2 0 0>; > + }; > + }; > --=20 > 2.1.2 >=20 --=20 Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora = Forum, a Linux Foundation Collaborative Project