From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 4/4] dt/bindings: Introduce the FSL QorIQ DPAA QMan portal(s) Date: Tue, 28 Oct 2014 13:27:57 -0500 Message-ID: <1414520877.23458.97.camel@snotra.buserror.net> References: <1413986972-621-1-git-send-email-Emilian.Medve@Freescale.com> <1413986972-621-4-git-send-email-Emilian.Medve@Freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1413986972-621-4-git-send-email-Emilian.Medve@Freescale.com> Sender: linux-doc-owner@vger.kernel.org To: Emil Medve Cc: galak@kernel.crashing.org, corbet@lwn.net, robh+dt@kernel.org, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, pawel.moll@arm.com, mark.rutland@arm.com, Geoff.Thorpe@Freescale.com, linuxppc-dev@ozlabs.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org List-Id: devicetree@vger.kernel.org On Wed, 2014-10-22 at 09:09 -0500, Emil Medve wrote: > +- fsl,liodn > + Usage: See pamu.txt > + Value type: > + Definition: PAMU property used for static LIODN assignment There are two LIODNs on these nodes; you need to specifiy here which is which. Likewise on the crypto subnode. > +The currently support sub-nodes are: > + * fman@0 > + * fman@1 > + * pme@0 > + * crypto@0 s/support/supported/ > +These subnodes should have the following properties: > + > +- fsl,liodn > + Usage: See pamu.txt > + Value type: > + Definition: PAMU property used for static LIODN assignment > + > +- fsl,iommu-parent > + Usage: See pamu.txt > + Value type: > + Definition: PAMU property used for dynamic LIODN assignment > + > +- dev-handle > + Usage: Required > + Value type: > + Definition: The phandle to the particular hardware device that this > + portal is connected to. > + > +DPAA QMan Pool Channel Nodes > + > +Pool Channels are defined with the following properties. > + > +PROPERTIES > + > +- compatible > + Usage: Required > + Value type: > + Definition: Must include "fsl,qman-pool-channel" > + May include "fsl,-qman-pool-channel" > + > +- fsl,qman-channel-id > + Usage: Required > + Value type: > + Definition: The hardware index of the channel. This can also be > + determined by dividing any of the channel's 8 work queue > + IDs by 8 > + > +EXAMPLE > + > +The example below shows a (P4080) BMan portals container/bus node with two portals > + > + qman-portals@ff4200000 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "simple-bus"; > + ranges = <0 0xf 0xf4200000 0x200000>; > + > + qman-portal@0 { > + cell-index = <0>; > + compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal"; > + reg = <0 0x4000 0x100000 0x1000>; > + interrupts = <104 2 0 0>; > + fsl,liodn = <1 2>; > + fsl,qman-channel-id = <0>; > + > + fman@0 { > + fsl,liodn = <0x21>; > + dev-handle = <&fman0>; > + }; > + fman@1 { > + fsl,liodn = <0xa1>; > + dev-handle = <&fman1>; > + }; > + crypto@0 { > + fsl,liodn = <0x41 0x66>; > + dev-handle = <&crypto>; > + }; Shouldn't have unit address without reg; use fman0/fman1/crypto instead. -Scott