RE: [PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-29 Thread Jose Rivera
> -Original Message-
> From: Stuart Yoder [mailto:stuart.yo...@freescale.com]
> Sent: Friday, September 25, 2015 4:08 PM
> To: robh...@kernel.org; mark.rutl...@arm.com
> Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Rivera
> Jose-B46482; Sharma Bhupesh-B45370; katz Itai-RM05202; Yoder Stuart-
> B08248
> Subject: [PATCH 2/3] Docs: dt: fsl-mc update binding to include
> definition of ranges
> 
> Define a ranges property to specify the mapping between the MC address
> space and the system address space.
> 
> Signed-off-by: Stuart Yoder 
> ---
>  .../devicetree/bindings/misc/fsl,qoriq-mc.txt  | 30
> +-
>  1 file changed, 29 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> index 6aac955..848975f 100644
> --- a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> +++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> @@ -35,6 +35,26 @@ Required properties:
>  Definition: Must be present and point to the MSI controller node
>  handling message interrupts for the MC.
> 
> +- ranges
> +Value type: 
> +Definition: A standard property.  Defines the mapping between
> the child
> +MC address space and the parent system address
> space.
> +
> +The MC address space is defined by 3 components:
> + 
> +
> +Valid values for region type are
> +   0x0 - MC portals
> +   0x1 - QBMAN portals
> +
> +- #address-cells
> +Value type: 
> +Definition: Must be 3.  (see definition in 'ranges' property)
> +
> +- #size-cells
> +Value type: 
> +Definition: Must be 1.
> +
>  Example:
> 
>  fsl_mc: fsl-mc@80c00 {
> @@ -42,5 +62,13 @@ Example:
>  reg = <0x0008 0x0c00 0 0x40>,/* MC portal
> base */
><0x 0x0834 0 0x4>; /* MC control
> reg */
>  msi-parent = <>;
> -};
> +#address-cells = <3>;
> +#size-cells = <1>;
> 
> +/*
> + * Region type 0x0 - MC portals
> + * Region type 0x1 - QBMAN portals
> + */
> +ranges = <0x0 0x0 0x0 0x8 0x0c00 0x400
> +  0x1 0x0 0x0 0x8 0x1800 0x800>;
> +};
> --
> 2.3.3

Acked-by: J. German Rivera 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: [PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-29 Thread Jose Rivera
> -Original Message-
> From: Stuart Yoder [mailto:stuart.yo...@freescale.com]
> Sent: Friday, September 25, 2015 4:08 PM
> To: robh...@kernel.org; mark.rutl...@arm.com
> Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Rivera
> Jose-B46482; Sharma Bhupesh-B45370; katz Itai-RM05202; Yoder Stuart-
> B08248
> Subject: [PATCH 2/3] Docs: dt: fsl-mc update binding to include
> definition of ranges
> 
> Define a ranges property to specify the mapping between the MC address
> space and the system address space.
> 
> Signed-off-by: Stuart Yoder <stuart.yo...@freescale.com>
> ---
>  .../devicetree/bindings/misc/fsl,qoriq-mc.txt  | 30
> +-
>  1 file changed, 29 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> index 6aac955..848975f 100644
> --- a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> +++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> @@ -35,6 +35,26 @@ Required properties:
>  Definition: Must be present and point to the MSI controller node
>  handling message interrupts for the MC.
> 
> +- ranges
> +Value type: 
> +Definition: A standard property.  Defines the mapping between
> the child
> +MC address space and the parent system address
> space.
> +
> +The MC address space is defined by 3 components:
> + 
> +
> +Valid values for region type are
> +   0x0 - MC portals
> +   0x1 - QBMAN portals
> +
> +- #address-cells
> +Value type: 
> +Definition: Must be 3.  (see definition in 'ranges' property)
> +
> +- #size-cells
> +Value type: 
> +Definition: Must be 1.
> +
>  Example:
> 
>  fsl_mc: fsl-mc@80c00 {
> @@ -42,5 +62,13 @@ Example:
>  reg = <0x0008 0x0c00 0 0x40>,/* MC portal
> base */
><0x 0x0834 0 0x4>; /* MC control
> reg */
>  msi-parent = <>;
> -};
> +#address-cells = <3>;
> +#size-cells = <1>;
> 
> +/*
> + * Region type 0x0 - MC portals
> + * Region type 0x1 - QBMAN portals
> + */
> +ranges = <0x0 0x0 0x0 0x8 0x0c00 0x400
> +  0x1 0x0 0x0 0x8 0x1800 0x800>;
> +};
> --
> 2.3.3

Acked-by: J. German Rivera <german.riv...@freescale.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-25 Thread Stuart Yoder
Define a ranges property to specify the mapping between
the MC address space and the system address space.

Signed-off-by: Stuart Yoder 
---
 .../devicetree/bindings/misc/fsl,qoriq-mc.txt  | 30 +-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt 
b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
index 6aac955..848975f 100644
--- a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
+++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
@@ -35,6 +35,26 @@ Required properties:
 Definition: Must be present and point to the MSI controller node
 handling message interrupts for the MC.
 
+- ranges
+Value type: 
+Definition: A standard property.  Defines the mapping between the child
+MC address space and the parent system address space.
+
+The MC address space is defined by 3 components:
+ 
+
+Valid values for region type are
+   0x0 - MC portals
+   0x1 - QBMAN portals
+
+- #address-cells
+Value type: 
+Definition: Must be 3.  (see definition in 'ranges' property)
+
+- #size-cells
+Value type: 
+Definition: Must be 1.
+
 Example:
 
 fsl_mc: fsl-mc@80c00 {
@@ -42,5 +62,13 @@ Example:
 reg = <0x0008 0x0c00 0 0x40>,/* MC portal base */
   <0x 0x0834 0 0x4>; /* MC control reg */
 msi-parent = <>;
-};
+#address-cells = <3>;
+#size-cells = <1>;
 
+/*
+ * Region type 0x0 - MC portals
+ * Region type 0x1 - QBMAN portals
+ */
+ranges = <0x0 0x0 0x0 0x8 0x0c00 0x400
+  0x1 0x0 0x0 0x8 0x1800 0x800>;
+};
-- 
2.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-25 Thread Stuart Yoder
Define a ranges property to specify the mapping between
the MC address space and the system address space.

Signed-off-by: Stuart Yoder 
---
 .../devicetree/bindings/misc/fsl,qoriq-mc.txt  | 30 +-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt 
b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
index 6aac955..848975f 100644
--- a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
+++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
@@ -35,6 +35,26 @@ Required properties:
 Definition: Must be present and point to the MSI controller node
 handling message interrupts for the MC.
 
+- ranges
+Value type: 
+Definition: A standard property.  Defines the mapping between the child
+MC address space and the parent system address space.
+
+The MC address space is defined by 3 components:
+ 
+
+Valid values for region type are
+   0x0 - MC portals
+   0x1 - QBMAN portals
+
+- #address-cells
+Value type: 
+Definition: Must be 3.  (see definition in 'ranges' property)
+
+- #size-cells
+Value type: 
+Definition: Must be 1.
+
 Example:
 
 fsl_mc: fsl-mc@80c00 {
@@ -42,5 +62,13 @@ Example:
 reg = <0x0008 0x0c00 0 0x40>,/* MC portal base */
   <0x 0x0834 0 0x4>; /* MC control reg */
 msi-parent = <>;
-};
+#address-cells = <3>;
+#size-cells = <1>;
 
+/*
+ * Region type 0x0 - MC portals
+ * Region type 0x1 - QBMAN portals
+ */
+ranges = <0x0 0x0 0x0 0x8 0x0c00 0x400
+  0x1 0x0 0x0 0x8 0x1800 0x800>;
+};
-- 
2.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/