diff mbox series

[2/4] arm64: tegra: Enable PMC wake events on Tegra194

Message ID 20181128171957.25924-2-thierry.reding@gmail.com
State Accepted
Headers show
Series [1/4] arm64: tegra: Enable PMC wake events on Tegra186 | expand

Commit Message

Thierry Reding Nov. 28, 2018, 5:19 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Wake events are a feature that allows the interrupt and GPIO controllers
to be powered off as part of system sleep. The PMC which is always on is
monitoring these wake events and can power up subsequent controllers as
necessary to process them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index d8d012c6a6f2..c4f5d94cbb99 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -782,7 +782,7 @@ 
 			#pwm-cells = <2>;
 		};
 
-		pmc@c360000 {
+		pmc: pmc@c360000 {
 			compatible = "nvidia,tegra194-pmc";
 			reg = <0x0c360000 0x10000>,
 			      <0x0c370000 0x10000>,
@@ -790,6 +790,9 @@ 
 			      <0x0c390000 0x10000>,
 			      <0x0c3a0000 0x10000>;
 			reg-names = "pmc", "wake", "aotag", "scratch", "misc";
+
+			#interrupt-cells = <2>;
+			interrupt-controller;
 		};
 
 		gpu@17000000 {