diff mbox

[V4,8/9] dt-bindings: arm-gic: Add documentation for Tegra210 AGIC

Message ID 1463066372-13115-9-git-send-email-jonathanh@nvidia.com
State Superseded, archived
Delegated to: Jon Hunter
Headers show

Commit Message

Jon Hunter May 12, 2016, 3:19 p.m. UTC
The Tegra AGIC is an interrupt controller that is compatible with the
ARM GIC-400, however, it is a 2nd level controller and requires runtime
power-management because it is outside the main CPU complex. Ideally,
the AGIC would use the existing "arm,gic-400" compatibility string, but
because of the power management requirements it cannot be initialised
early and is initialised by a platform driver. Therefore, to distinguish
between the Tegra AGIC and a normal GIC-400, and to ensure that the
appropriate driver initialises the AGIC, add the compatible string and
clock information for the AGIC to the GIC device-tree binding
documentation.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Rob Herring May 16, 2016, 4:05 p.m. UTC | #1
On Thu, May 12, 2016 at 04:19:31PM +0100, Jon Hunter wrote:
> The Tegra AGIC is an interrupt controller that is compatible with the
> ARM GIC-400, however, it is a 2nd level controller and requires runtime
> power-management because it is outside the main CPU complex. Ideally,
> the AGIC would use the existing "arm,gic-400" compatibility string, but
> because of the power management requirements it cannot be initialised
> early and is initialised by a platform driver. Therefore, to distinguish
> between the Tegra AGIC and a normal GIC-400, and to ensure that the
> appropriate driver initialises the AGIC, add the compatible string and
> clock information for the AGIC to the GIC device-tree binding
> documentation.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" 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.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
index 793c20ff8fcc..5393e2a45a42 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
@@ -21,6 +21,7 @@  Main node required properties:
 	"arm,pl390"
 	"arm,tc11mp-gic"
 	"brcm,brahma-b15-gic"
+	"nvidia,tegra210-agic"
 	"qcom,msm-8660-qgic"
 	"qcom,msm-qgic2"
 - interrupt-controller : Identifies the node as an interrupt controller
@@ -68,7 +69,7 @@  Optional
 	"ic_clk" (for "arm,arm11mp-gic")
 	"PERIPHCLKEN" (for "arm,cortex-a15-gic")
 	"PERIPHCLK", "PERIPHCLKEN" (for "arm,cortex-a9-gic")
-	"clk" (for "arm,gic-400")
+	"clk" (for "arm,gic-400" and "nvidia,tegra210")
 	"gclk" (for "arm,pl390")
 
 - power-domains : A phandle and PM domain specifier as defined by bindings of