Thread (5 messages) 5 messages, 2 authors, 2013-08-08

Re: [1/3,v2] powerpc/dts: update MSI bindings doc for MPIC v4.3

From: Scott Wood <hidden>
Date: 2013-08-08 00:30:32
Subsystem: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc85xx, open firmware and flattened device tree bindings, the rest · Maintainers: Madhavan Srinivasan, Michael Ellerman, Scott Wood, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

On Fri, Jun 21, 2013 at 06:59:12PM +0800, Minghuan Lian wrote:
Add compatible "fsl,mpic-msi-v4.3" for MPIC v4.3. MPIC v4.3 contains
MSIIR and MSIIR1. MSIIR supports 8 MSI registers and MSIIR1 supports
16 MSI registers, but uses different IBS and SRS shift. When using
MSIR1, the interrupt number is not consecutive. It is hard to use
'msi-available-ranges' to describe the ranges of the available
interrupt, so MPIC v4.3 does not support this property.

Signed-off-by: Minghuan Lian <redacted>

---
v2 log:
1. move msi-available-ranges to optional properties.

 .../devicetree/bindings/powerpc/fsl/msi-pic.txt    | 51 +++++++++++++++++-----
 1 file changed, 40 insertions(+), 11 deletions(-)
Applied with these changes:
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/msi-pic.txt b/Documentation/devicetree/bindings/powerpc/fsl/msi-pic.txt
index d82b080..82dd5b6 100644
--- a/Documentation/devicetree/bindings/powerpc/fsl/msi-pic.txt
+++ b/Documentation/devicetree/bindings/powerpc/fsl/msi-pic.txt
@@ -1,13 +1,13 @@
 * Freescale MSI interrupt controller
 
 Required properties:
-- compatible : compatible list, may contains one or two entries,
-  first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572,
+- compatible : compatible list, may contain one or two entries
+  The first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572,
   etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" or
   "fsl,mpic-msi-v4.3" depending on the parent type and version. If mpic
   version is 4.3, the number of MSI registers is increased to 16, MSIIR1 is
-  provided to access these 16 registers, compatible "fsl,mpic-msi-v4.3"
-  should be used. The first entry is optional, the second entry must be
+  provided to access these 16 registers, and compatible "fsl,mpic-msi-v4.3"
+  should be used. The first entry is optional; the second entry is
   required.
 
 - reg : It may contain one or two regions. The first region should contain

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help