diff mbox

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

Message ID 1480578360-9268-2-git-send-email-majun258@huawei.com
State New
Headers show

Commit Message

majun (F) Dec. 1, 2016, 7:45 a.m. UTC
From: MaJun <majun258@huawei.com>


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@huawei.com>

---
 Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 3 +++
 1 file changed, 3 insertions(+)

-- 
1.7.12.4


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;