Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758509AbcLAHqg (ORCPT ); Thu, 1 Dec 2016 02:46:36 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:8918 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbcLAHqf (ORCPT ); Thu, 1 Dec 2016 02:46:35 -0500 From: Majun To: , , , , , , , , , , CC: , , Subject: [RFC PATCH 1/3]Binding: Add a new property string in ITS node to control the two-level route function Date: Thu, 1 Dec 2016 15:45:58 +0800 Message-ID: <1480578360-9268-2-git-send-email-majun258@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1480578360-9268-1-git-send-email-majun258@huawei.com> References: <1480578360-9268-1-git-send-email-majun258@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.249.226] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1340 Lines: 35 From: MaJun 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 --- 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