arm64: tegra: Enable CPU sleep on Jetson Nano
authorThierry Reding <treding@nvidia.com>
Fri, 14 Jun 2019 15:41:04 +0000 (17:41 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 19 Jun 2019 15:51:43 +0000 (17:51 +0200)
Jetson Nano implements CPU sleep via PSCI, much like any of the other
Tegra X1 platforms. Enable the sleep states to allow the CPU to go into
lower power states when idle.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

index 97349fcacee900d2fc15440018223e9ee221c5fc..63df72eecf21de38d4187a927737267dbcb01665 100644 (file)
                cpu@3 {
                        enable-method = "psci";
                };
+
+               idle-states {
+                       cpu-sleep {
+                               status = "okay";
+                       };
+               };
        };
 
        gpio-keys {