[PATCH 1/2] dt-bindings: arm,gic: Indtroduce optional property 'arm,msi-offset-spi' for gicv2m

Ray Jui
2016-05-03T23:48:01Z

Update the GICv2m binding document by adding an optional property
'arm,msi-offset-spi'.

Some implementations of gicv2m have an erratum where the MSI data is
the SPI number subtracted by an offset. This is required for the
correct MSI interrupt to be triggered.

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
---
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
index 793c20f..550960f 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
@@ -140,6 +140,12 @@ Optional properties:
value, this property should contain the number of
SPIs assigned to the frame, overriding the HW value.

+- arm,msi-offset-spi: Some implementations of gicv2m have an erratum where
+ the MSI data is the SPI number subtracted by an offset.
+ This is required for the correct MSI interrupt to be
+ triggered. This property should contain the required
+ offset.
+
Example:

interrupt-controller@e1101000 {
--
2.1.4