[RFC PATCH 1/3]Binding: Add a new property string in ITS node to control the two-level route function

From: Majun
Date: Thu Dec 01 2016 - 02:46:40 EST


From: MaJun <majun258@xxxxxxxxxx>

Add the two-level-route property in ITS node.
When this property string defined, two-level route(indirect) function
will be enabled in ITS driver, otherwise disable it.

Signed-off-by: MaJun <majun258@xxxxxxxxxx>
---
Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
index 4c29cda..e9f4a9c 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
@@ -74,6 +74,8 @@ These nodes must have the following properties:
which will generate the MSI.
- reg: Specifies the base physical address and size of the ITS
registers.
+- two-level-route: This is an optional property which means enable the two level
+ route property when look up route table.

The main GIC node must contain the appropriate #address-cells,
#size-cells and ranges properties for the reg property of all ITS
@@ -97,6 +99,7 @@ Examples:

gic-its@2c200000 {
compatible = "arm,gic-v3-its";
+ two-level-route;
msi-controller;
#msi-cells = <1>;
reg = <0x0 0x2c200000 0 0x200000>;
--
1.7.12.4