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

login
register
mail settings
Submitter Scott Wood
Date Aug. 8, 2013, 12:30 a.m.
Message ID <20130808003021.GA22932@home.buserror.net>
Download mbox | patch
Permalink /patch/265623/
State Not Applicable
Headers show

Comments

Scott Wood - Aug. 8, 2013, 12:30 a.m.
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 <Minghuan.Lian@freescale.com>
> 
> ---
> 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:


-Scott

Patch

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