arm64: tegra: Enable PMC wake events on Tegra194
authorThierry Reding <treding@nvidia.com>
Wed, 28 Nov 2018 17:19:55 +0000 (18:19 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 3 Dec 2018 15:31:34 +0000 (16:31 +0100)
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

index 4c0067ced6c7010b77907bc0fe544b9ac280764f..a09ca098eb4d11323839382403695b8dc0904f05 100644 (file)
                        #pwm-cells = <2>;
                };
 
-               pmc@c360000 {
+               pmc: pmc@c360000 {
                        compatible = "nvidia,tegra194-pmc";
                        reg = <0x0c360000 0x10000>,
                              <0x0c370000 0x10000>,
                              <0x0c390000 0x10000>,
                              <0x0c3a0000 0x10000>;
                        reg-names = "pmc", "wake", "aotag", "scratch", "misc";
+
+                       #interrupt-cells = <2>;
+                       interrupt-controller;
                };
 
                host1x@13e00000 {