* [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs
@ 2015-09-19 18:16 Poonam Aggrwal
2015-09-20 0:15 ` Scott Wood
0 siblings, 1 reply; 4+ messages in thread
From: Poonam Aggrwal @ 2015-09-19 18:16 UTC (permalink / raw)
To: linuxppc-dev, linux-kernel, devicetree-discuss; +Cc: scottwood, poonam aggrwal
From: poonam aggrwal <poonam.aggrwal@freescale.com>
Device Tree Bindings for DSP CPU clusters and DSP CPUs for Freescale PowerPC
SOCs which have DSP CPUs in addition to PowerPC CPUs.
For example B4860 has 3 DSP clusters which have 2 SC3900 cores each.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
---
- based of: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
branch master
This patch was sent earlier and some comments were received. Some have been
taken care; others we can further discuss. Apologize for not following up
on them in time.
.../devicetree/bindings/powerpc/fsl/dsp-cpus.txt | 78 ++++++++++++++++++++++
1 file changed, 78 insertions(+)
create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
new file mode 100644
index 0000000..6d901ef
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
@@ -0,0 +1,78 @@
+===================================================================
+Binding for DSP CPU clusters and DSP CPUs for Freescale SOCs which
+have DSP CPUs in addition to PowerPC cpus.
+Copyright 2013 Freescale Semiconductor Inc.
+
+Power Architecture CPUs in Freescale SOCs are represented in device trees as
+per the definition in ePAPR.
+
+Required properties for DSP CPU cluster:
+- compatible : should be "fsl,sc3900-cluster".
+- reg : should contain the cluster index
+
+Required properties for DSP CPU:
+- compatible : should be "fsl,sc3900".
+- reg : should contain index of DSP CPU within the DSP clsuter.
+- next-level-cache : should point to the phandle of the next-level L2 cache.
+
+Example for B4860:
+B4860 SOC of Freescale has 3 DSP clusters. Each DSP cluster has 2 DSP CPUs each.
+The DSP CPUs are SC3900. There is a shared L2 cache per DSP cluster.
+ dsp-clusters {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dsp-cluster0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,sc3900-cluster";
+ reg = <0>;
+
+ dsp0: dsp@0 {
+ compatible = "fsl,sc3900";
+ reg = <0>;
+ next-level-cache = <&L2_2>;
+ };
+ dsp1: dsp@1 {
+ compatible = "fsl,sc3900";
+ reg = <1>;
+ next-level-cache = <&L2_2>;
+ };
+ };
+
+ dsp-cluster1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,sc3900-cluster";
+ reg = <1>;
+
+ dsp2: dsp@2 {
+ compatible = "fsl,sc3900";
+ reg = <2>;
+ next-level-cache = <&L2_3>;
+ };
+ dsp3: dsp@3 {
+ compatible = "fsl,sc3900";
+ reg = <3>;
+ next-level-cache = <&L2_3>;
+ };
+ };
+
+ dsp-cluster2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,sc3900-cluster";
+ reg = <2>;
+
+ dsp4: dsp@4 {
+ compatible = "fsl,sc3900";
+ reg = <4>;
+ next-level-cache = <&L2_4>;
+ };
+ dsp5: dsp@5 {
+ compatible = "fsl,sc3900";
+ reg = <5>;
+ next-level-cache = <&L2_4>;
+ };
+ };
+ };
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs
2015-09-19 18:16 [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs Poonam Aggrwal
@ 2015-09-20 0:15 ` Scott Wood
2015-09-21 8:36 ` Aggrwal Poonam
0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2015-09-20 0:15 UTC (permalink / raw)
To: Poonam Aggrwal; +Cc: linuxppc-dev, linux-kernel, devicetree-discuss
On Sat, 2015-09-19 at 23:46 +0530, Poonam Aggrwal wrote:
> From: poonam aggrwal <poonam.aggrwal@freescale.com>
>
> Device Tree Bindings for DSP CPU clusters and DSP CPUs for Freescale PowerPC
> SOCs which have DSP CPUs in addition to PowerPC CPUs.
> For example B4860 has 3 DSP clusters which have 2 SC3900 cores each.
>
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> ---
> - based of: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> branch master
>
> This patch was sent earlier and some comments were received. Some have been
> taken care; others we can further discuss. Apologize for not following up
> on them in time.
> .../devicetree/bindings/powerpc/fsl/dsp-cpus.txt | 78
> ++++++++++++++++++++++
> 1 file changed, 78 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/dsp-
> cpus.txt
>
> diff --git a/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> new file mode 100644
> index 0000000..6d901ef
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> @@ -0,0 +1,78 @@
> +===================================================================
> +Binding for DSP CPU clusters and DSP CPUs for Freescale SOCs which
> +have DSP CPUs in addition to PowerPC cpus.
> +Copyright 2013 Freescale Semiconductor Inc.
> +
> +Power Architecture CPUs in Freescale SOCs are represented in device trees
> as
> +per the definition in ePAPR.
> +
> +Required properties for DSP CPU cluster:
> +- compatible : should be "fsl,sc3900-cluster".
> +- reg : should contain the cluster index
> +
> +Required properties for DSP CPU:
> +- compatible : should be "fsl,sc3900".
> +- reg : should contain index of DSP CPU within the DSP clsuter.
> +- next-level-cache : should point to the phandle of the next-level L2
> cache.
Why is the dsp-clusters container only shown in the example, not the binding
itself?
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs
2015-09-20 0:15 ` Scott Wood
@ 2015-09-21 8:36 ` Aggrwal Poonam
2015-09-21 20:01 ` Scott Wood
0 siblings, 1 reply; 4+ messages in thread
From: Aggrwal Poonam @ 2015-09-21 8:36 UTC (permalink / raw)
To: Scott Wood
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2796 bytes --]
> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Sunday, September 20, 2015 5:45 AM
> To: Aggrwal Poonam-B10812 <Poonam.Aggrwal@freescale.com>
> Cc: linuxppc-dev@lists.ozlabs.org; linux-kernel@vger.kernel.org; devicetree-
> discuss@lists.ozlabs.org
> Subject: Re: [PATCH 2/4] powerpc/device-tree: bindings for DSP
> cores/clusters for Freescale SOCs
>
> On Sat, 2015-09-19 at 23:46 +0530, Poonam Aggrwal wrote:
> > From: poonam aggrwal <poonam.aggrwal@freescale.com>
> >
> > Device Tree Bindings for DSP CPU clusters and DSP CPUs for Freescale
> > PowerPC SOCs which have DSP CPUs in addition to PowerPC CPUs.
> > For example B4860 has 3 DSP clusters which have 2 SC3900 cores each.
> >
> > Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> > ---
> > - based of: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > branch master
> >
> > This patch was sent earlier and some comments were received. Some have
> > been taken care; others we can further discuss. Apologize for not
> > following up on them in time.
> > .../devicetree/bindings/powerpc/fsl/dsp-cpus.txt | 78
> > ++++++++++++++++++++++
> > 1 file changed, 78 insertions(+)
> > create mode 100644
> Documentation/devicetree/bindings/powerpc/fsl/dsp-
> > cpus.txt
> >
> > diff --git
> > a/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > new file mode 100644
> > index 0000000..6d901ef
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > @@ -0,0 +1,78 @@
> >
> +=========================================================
> ==========
> > +Binding for DSP CPU clusters and DSP CPUs for Freescale SOCs which
> > +have DSP CPUs in addition to PowerPC cpus.
> > +Copyright 2013 Freescale Semiconductor Inc.
> > +
> > +Power Architecture CPUs in Freescale SOCs are represented in device
> > +trees
> > as
> > +per the definition in ePAPR.
> > +
> > +Required properties for DSP CPU cluster:
> > +- compatible : should be "fsl,sc3900-cluster".
> > +- reg : should contain the cluster index
> > +
> > +Required properties for DSP CPU:
> > +- compatible : should be "fsl,sc3900".
> > +- reg : should contain index of DSP CPU within the DSP clsuter.
> > +- next-level-cache : should point to the phandle of the next-level L2
> > cache.
>
> Why is the dsp-clusters container only shown in the example, not the binding
> itself?
I will try to add more description in the binding for cluster; And the structure of dsp cluster (like sub node of DSP cluster is core, etc).
Did I get your feedback right?
>
> -Scott
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs
2015-09-21 8:36 ` Aggrwal Poonam
@ 2015-09-21 20:01 ` Scott Wood
0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2015-09-21 20:01 UTC (permalink / raw)
To: Aggrwal Poonam-B10812
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
On Mon, 2015-09-21 at 03:36 -0500, Aggrwal Poonam-B10812 wrote:
>
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Sunday, September 20, 2015 5:45 AM
> > To: Aggrwal Poonam-B10812 <Poonam.Aggrwal@freescale.com>
> > Cc: linuxppc-dev@lists.ozlabs.org; linux-kernel@vger.kernel.org;
> > devicetree-
> > discuss@lists.ozlabs.org
> > Subject: Re: [PATCH 2/4] powerpc/device-tree: bindings for DSP
> > cores/clusters for Freescale SOCs
> >
> > On Sat, 2015-09-19 at 23:46 +0530, Poonam Aggrwal wrote:
> > > From: poonam aggrwal <poonam.aggrwal@freescale.com>
> > >
> > > Device Tree Bindings for DSP CPU clusters and DSP CPUs for Freescale
> > > PowerPC SOCs which have DSP CPUs in addition to PowerPC CPUs.
> > > For example B4860 has 3 DSP clusters which have 2 SC3900 cores each.
> > >
> > > Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> > > ---
> > > - based of:
> > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > branch master
> > >
> > > This patch was sent earlier and some comments were received. Some have
> > > been taken care; others we can further discuss. Apologize for not
> > > following up on them in time.
> > > .../devicetree/bindings/powerpc/fsl/dsp-cpus.txt | 78
> > > ++++++++++++++++++++++
> > > 1 file changed, 78 insertions(+)
> > > create mode 100644
> > Documentation/devicetree/bindings/powerpc/fsl/dsp-
> > > cpus.txt
> > >
> > > diff --git
> > > a/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > > b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > > new file mode 100644
> > > index 0000000..6d901ef
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/powerpc/fsl/dsp-cpus.txt
> > > @@ -0,0 +1,78 @@
> > >
> > +=========================================================
> > ==========
> > > +Binding for DSP CPU clusters and DSP CPUs for Freescale SOCs which
> > > +have DSP CPUs in addition to PowerPC cpus.
> > > +Copyright 2013 Freescale Semiconductor Inc.
> > > +
> > > +Power Architecture CPUs in Freescale SOCs are represented in device
> > > +trees
> > > as
> > > +per the definition in ePAPR.
> > > +
> > > +Required properties for DSP CPU cluster:
> > > +- compatible : should be "fsl,sc3900-cluster".
> > > +- reg : should contain the cluster index
> > > +
> > > +Required properties for DSP CPU:
> > > +- compatible : should be "fsl,sc3900".
> > > +- reg : should contain index of DSP CPU within the DSP clsuter.
> > > +- next-level-cache : should point to the phandle of the next-level L2
> > > cache.
> >
> > Why is the dsp-clusters container only shown in the example, not the
> > binding
> > itself?
>
> I will try to add more description in the binding for cluster; And the
> structure of dsp cluster (like sub node of DSP cluster is core, etc).
> Did I get your feedback right?
No, I was complaining that the example has a "dsp-clusters" container node
and the binding itself doesn't mention it at all.
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-21 20:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-19 18:16 [PATCH 2/4] powerpc/device-tree: bindings for DSP cores/clusters for Freescale SOCs Poonam Aggrwal
2015-09-20 0:15 ` Scott Wood
2015-09-21 8:36 ` Aggrwal Poonam
2015-09-21 20:01 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox