diff mbox

[1/7] arm64: tegra: Add AGIC node for Tegra210

Message ID 1470756082-19099-2-git-send-email-jonathanh@nvidia.com
State Accepted
Delegated to: Thierry Reding
Headers show

Commit Message

Jon Hunter Aug. 9, 2016, 3:21 p.m. UTC
Populate the Audio GIC (AGIC) node for Tegra210. This interrupt
controller is used by the Audio Processing Engine to route interrupts
to the main CPU interrupt controller. The AGIC is based on the ARM
GIC400 and so uses the clock name "clk" as specified by the GIC binding
document for GIC400 devices.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Thierry Reding Aug. 24, 2016, 2:48 p.m. UTC | #1
On Tue, Aug 09, 2016 at 04:21:16PM +0100, Jon Hunter wrote:
> Populate the Audio GIC (AGIC) node for Tegra210. This interrupt
> controller is used by the Audio Processing Engine to route interrupts
> to the main CPU interrupt controller. The AGIC is based on the ARM
> GIC400 and so uses the clock name "clk" as specified by the GIC binding
> document for GIC400 devices.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Applied, though I removed the tegra_ prefix from the label and replaced
the literals by symbolic names in the interrupts property.

Thanks,
Thierry
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
index c4cfdcf60d26..f9b0759e4f9d 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
@@ -961,6 +961,18 @@ 
 		#size-cells = <1>;
 		ranges = <0x702c0000 0x0 0x702c0000 0x00040000>;
 		status = "disabled";
+
+		tegra_agic: agic@702f9000 {
+			compatible = "nvidia,tegra210-agic";
+			#interrupt-cells = <3>;
+			interrupt-controller;
+			reg = <0x702f9000 0x2000>,
+			      <0x702fa000 0x2000>;
+			interrupts = <0 102 0xf04>;
+			clocks = <&tegra_car TEGRA210_CLK_APE>;
+			clock-names = "clk";
+			status = "disabled";
+		};
 	};
 
 	spi@70410000 {