Re: [v7 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-03-23 Thread Scott Wood
On Fri, 2015-02-27 at 09:16 -0600, Emil Medve wrote:
 From: Kumar Gala ga...@kernel.crashing.org
 
 Signed-off-by: Kumar Gala ga...@kernel.crashing.org
 Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com
 Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com
 Signed-off-by: Chunhe Lan chunhe@freescale.com
 Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com
 [Emil Medve: Sync with the upstream binding]
 Signed-off-by: Emil Medve emilian.me...@freescale.com
 ---
 
 v7:   Remove 'Change-Id'
 
 v6:   Rebase

ERROR: code indent should use tabs where possible
#1159: FILE: arch/powerpc/boot/dts/kmcoge4.dts:37:
+qman_fqd: qman-fqd {$

ERROR: code indent should use tabs where possible
#1160: FILE: arch/powerpc/boot/dts/kmcoge4.dts:38:
+size = 0 0x40;$

WARNING: please, no spaces at the start of a line
#1160: FILE: arch/powerpc/boot/dts/kmcoge4.dts:38:
+size = 0 0x40;$

ERROR: code indent should use tabs where possible
#1161: FILE: arch/powerpc/boot/dts/kmcoge4.dts:39:
+alignment = 0 0x40;$

WARNING: please, no spaces at the start of a line
#1161: FILE: arch/powerpc/boot/dts/kmcoge4.dts:39:
+alignment = 0 0x40;$

ERROR: code indent should use tabs where possible
#1162: FILE: arch/powerpc/boot/dts/kmcoge4.dts:40:
+};$

WARNING: please, no spaces at the start of a line
#1162: FILE: arch/powerpc/boot/dts/kmcoge4.dts:40:
+};$

ERROR: code indent should use tabs where possible
#1163: FILE: arch/powerpc/boot/dts/kmcoge4.dts:41:
+qman_pfdr: qman-pfdr {$

ERROR: code indent should use tabs where possible
#1164: FILE: arch/powerpc/boot/dts/kmcoge4.dts:42:
+size = 0 0x200;$

WARNING: please, no spaces at the start of a line
#1164: FILE: arch/powerpc/boot/dts/kmcoge4.dts:42:
+size = 0 0x200;$

ERROR: code indent should use tabs where possible
#1165: FILE: arch/powerpc/boot/dts/kmcoge4.dts:43:
+alignment = 0 0x200;$

WARNING: please, no spaces at the start of a line
#1165: FILE: arch/powerpc/boot/dts/kmcoge4.dts:43:
+alignment = 0 0x200;$

ERROR: code indent should use tabs where possible
#1166: FILE: arch/powerpc/boot/dts/kmcoge4.dts:44:
+};$

WARNING: please, no spaces at the start of a line
#1166: FILE: arch/powerpc/boot/dts/kmcoge4.dts:44:
+};$

ERROR: code indent should use tabs where possible
#1189: FILE: arch/powerpc/boot/dts/oca4080.dts:61:
+qman_fqd: qman-fqd {$

ERROR: code indent should use tabs where possible
#1190: FILE: arch/powerpc/boot/dts/oca4080.dts:62:
+size = 0 0x40;$

WARNING: please, no spaces at the start of a line
#1190: FILE: arch/powerpc/boot/dts/oca4080.dts:62:
+size = 0 0x40;$

ERROR: code indent should use tabs where possible
#1191: FILE: arch/powerpc/boot/dts/oca4080.dts:63:
+alignment = 0 0x40;$

WARNING: please, no spaces at the start of a line
#1191: FILE: arch/powerpc/boot/dts/oca4080.dts:63:
+alignment = 0 0x40;$

ERROR: code indent should use tabs where possible
#1192: FILE: arch/powerpc/boot/dts/oca4080.dts:64:
+};$

WARNING: please, no spaces at the start of a line
#1192: FILE: arch/powerpc/boot/dts/oca4080.dts:64:
+};$

ERROR: code indent should use tabs where possible
#1193: FILE: arch/powerpc/boot/dts/oca4080.dts:65:
+qman_pfdr: qman-pfdr {$

ERROR: code indent should use tabs where possible
#1194: FILE: arch/powerpc/boot/dts/oca4080.dts:66:
+size = 0 0x200;$

WARNING: please, no spaces at the start of a line
#1194: FILE: arch/powerpc/boot/dts/oca4080.dts:66:
+size = 0 0x200;$

ERROR: code indent should use tabs where possible
#1195: FILE: arch/powerpc/boot/dts/oca4080.dts:67:
+alignment = 0 0x200;$

WARNING: please, no spaces at the start of a line
#1195: FILE: arch/powerpc/boot/dts/oca4080.dts:67:
+alignment = 0 0x200;$

ERROR: code indent should use tabs where possible
#1196: FILE: arch/powerpc/boot/dts/oca4080.dts:68:
+};$

WARNING: please, no spaces at the start of a line
#1196: FILE: arch/powerpc/boot/dts/oca4080.dts:68:
+};$

ERROR: code indent should use tabs where possible
#1542: FILE: arch/powerpc/boot/dts/t4240rdb.dts:81:
+qman_fqd: qman-fqd {$

ERROR: code indent should use tabs where possible
#1543: FILE: arch/powerpc/boot/dts/t4240rdb.dts:82:
+size = 0 0x40;$

WARNING: please, no spaces at the start of a line
#1543: FILE: arch/powerpc/boot/dts/t4240rdb.dts:82:
+size = 0 0x40;$

ERROR: code indent should use tabs where possible
#1544: FILE: 

[v7 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-02-27 Thread Emil Medve
From: Kumar Gala ga...@kernel.crashing.org

Signed-off-by: Kumar Gala ga...@kernel.crashing.org
Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com
Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com
[Emil Medve: Sync with the upstream binding]
Signed-off-by: Emil Medve emilian.me...@freescale.com
---

v7: Remove 'Change-Id'

v6: Rebase

 arch/powerpc/boot/dts/b4qds.dtsi|  12 ++
 arch/powerpc/boot/dts/fsl/b4860si-post.dtsi |  69 ++
 arch/powerpc/boot/dts/fsl/b4si-post.dtsi| 106 ++
 arch/powerpc/boot/dts/fsl/p1023si-post.dtsi |  43 
 arch/powerpc/boot/dts/fsl/p2041si-post.dtsi |  13 ++
 arch/powerpc/boot/dts/fsl/p3041si-post.dtsi |  13 ++
 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |  13 ++
 arch/powerpc/boot/dts/fsl/p5020si-post.dtsi |  13 ++
 arch/powerpc/boot/dts/fsl/p5040si-post.dtsi |  13 ++
 arch/powerpc/boot/dts/fsl/t1040si-post.dtsi |  78 +++
 arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 126 +++
 arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 318 
 arch/powerpc/boot/dts/kmcoge4.dts   |  12 ++
 arch/powerpc/boot/dts/oca4080.dts   |  12 ++
 arch/powerpc/boot/dts/p1023rdb.dts  |  12 ++
 arch/powerpc/boot/dts/p2041rdb.dts  |  12 ++
 arch/powerpc/boot/dts/p3041ds.dts   |  12 ++
 arch/powerpc/boot/dts/p4080ds.dts   |  12 ++
 arch/powerpc/boot/dts/p5020ds.dts   |  12 ++
 arch/powerpc/boot/dts/p5040ds.dts   |  12 ++
 arch/powerpc/boot/dts/t104xqds.dtsi |  12 ++
 arch/powerpc/boot/dts/t104xrdb.dtsi |  12 ++
 arch/powerpc/boot/dts/t208xqds.dtsi |  12 ++
 arch/powerpc/boot/dts/t208xrdb.dtsi |  12 ++
 arch/powerpc/boot/dts/t4240qds.dts  |  12 ++
 arch/powerpc/boot/dts/t4240rdb.dts  |  12 ++
 26 files changed, 985 insertions(+)

diff --git a/arch/powerpc/boot/dts/b4qds.dtsi b/arch/powerpc/boot/dts/b4qds.dtsi
index 24ed80d..559d006 100644
--- a/arch/powerpc/boot/dts/b4qds.dtsi
+++ b/arch/powerpc/boot/dts/b4qds.dtsi
@@ -106,6 +106,14 @@
size = 0 0x100;
alignment = 0 0x100;
};
+   qman_fqd: qman-fqd {
+   size = 0 0x40;
+   alignment = 0 0x40;
+   };
+   qman_pfdr: qman-pfdr {
+   size = 0 0x200;
+   alignment = 0 0x200;
+   };
};
 
dcsr: dcsr@f {
@@ -116,6 +124,10 @@
ranges = 0x0 0xf 0xf400 0x200;
};
 
+   qportals: qman-portals@ff600 {
+   ranges = 0x0 0xf 0xf600 0x200;
+   };
+
soc: soc@ffe00 {
ranges = 0x 0xf 0xfe00 0x100;
reg = 0xf 0xfe00 0 0x1000;
diff --git a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi 
b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
index 68b9a05..02ccde6 100644
--- a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
@@ -167,6 +167,75 @@
};
 };
 
+qportals {
+   qportal14: qman-portal@38000 {
+   compatible = fsl,qman-portal;
+   reg = 0x38000 0x4000, 0x100e000 0x1000;
+   interrupts = 132 0x2 0 0;
+   fsl,qman-channel-id = 0xe;
+   };
+   qportal15: qman-portal@3c000 {
+   compatible = fsl,qman-portal;
+   reg = 0x3c000 0x4000, 0x100f000 0x1000;
+   interrupts = 134 0x2 0 0;
+   fsl,qman-channel-id = 0xf;
+   };
+   qportal16: qman-portal@4 {
+   compatible = fsl,qman-portal;
+   reg = 0x4 0x4000, 0x101 0x1000;
+   interrupts = 136 0x2 0 0;
+   fsl,qman-channel-id = 0x10;
+   };
+   qportal17: qman-portal@44000 {
+   compatible = fsl,qman-portal;
+   reg = 0x44000 0x4000, 0x1011000 0x1000;
+   interrupts = 138 0x2 0 0;
+   fsl,qman-channel-id = 0x11;
+   };
+   qportal18: qman-portal@48000 {
+   compatible = fsl,qman-portal;
+   reg = 0x48000 0x4000, 0x1012000 0x1000;
+   interrupts = 140 0x2 0 0;
+   fsl,qman-channel-id = 0x12;
+   };
+   qportal19: qman-portal@4c000 {
+   compatible = fsl,qman-portal;
+   reg = 0x4c000 0x4000, 0x1013000 0x1000;
+   interrupts = 142 0x2 0 0;
+   fsl,qman-channel-id = 0x13;
+   };
+   qportal20: qman-portal@5 {
+   compatible = fsl,qman-portal;
+   reg = 0x5 0x4000, 0x1014000 0x1000;
+   interrupts = 144 0x2 0 0;
+   fsl,qman-channel-id = 0x14;
+   };
+   qportal21: qman-portal@54000 {
+   compatible =