diff options
| author | Joseph Lo <josephl@nvidia.com> | 2019-02-21 02:21:47 -0500 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2019-04-12 11:21:48 -0400 |
| commit | da77c6d92bf7c8815b143cc271c7f0b8af6aa15b (patch) | |
| tree | 734212986c78acb3ded7c5c6b4f3a8f5f8ce5519 | |
| parent | d9931a1869fbd9d59bee30ef49d2356b468cdf47 (diff) | |
arm64: tegra: Add CPU idle states properties for Tegra210
Add idle states properties for generic ARM CPU idle driver. This
includes a cpu-sleep state which is the power down state of CPU cores.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
| -rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra210.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index abbb686bd8ba..79cedd36ffad 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi | |||
| @@ -1371,24 +1371,43 @@ | |||
| 1371 | <&dfll>; | 1371 | <&dfll>; |
| 1372 | clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; | 1372 | clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; |
| 1373 | clock-latency = <300000>; | 1373 | clock-latency = <300000>; |
| 1374 | cpu-idle-states = <&CPU_SLEEP>; | ||
| 1374 | }; | 1375 | }; |
| 1375 | 1376 | ||
| 1376 | cpu@1 { | 1377 | cpu@1 { |
| 1377 | device_type = "cpu"; | 1378 | device_type = "cpu"; |
| 1378 | compatible = "arm,cortex-a57"; | 1379 | compatible = "arm,cortex-a57"; |
| 1379 | reg = <1>; | 1380 | reg = <1>; |
| 1381 | cpu-idle-states = <&CPU_SLEEP>; | ||
| 1380 | }; | 1382 | }; |
| 1381 | 1383 | ||
| 1382 | cpu@2 { | 1384 | cpu@2 { |
| 1383 | device_type = "cpu"; | 1385 | device_type = "cpu"; |
| 1384 | compatible = "arm,cortex-a57"; | 1386 | compatible = "arm,cortex-a57"; |
| 1385 | reg = <2>; | 1387 | reg = <2>; |
| 1388 | cpu-idle-states = <&CPU_SLEEP>; | ||
| 1386 | }; | 1389 | }; |
| 1387 | 1390 | ||
| 1388 | cpu@3 { | 1391 | cpu@3 { |
| 1389 | device_type = "cpu"; | 1392 | device_type = "cpu"; |
| 1390 | compatible = "arm,cortex-a57"; | 1393 | compatible = "arm,cortex-a57"; |
| 1391 | reg = <3>; | 1394 | reg = <3>; |
| 1395 | cpu-idle-states = <&CPU_SLEEP>; | ||
| 1396 | }; | ||
| 1397 | |||
| 1398 | idle-states { | ||
| 1399 | entry-method = "psci"; | ||
| 1400 | |||
| 1401 | CPU_SLEEP: cpu-sleep { | ||
| 1402 | compatible = "arm,idle-state"; | ||
| 1403 | arm,psci-suspend-param = <0x40000007>; | ||
| 1404 | entry-latency-us = <100>; | ||
| 1405 | exit-latency-us = <30>; | ||
| 1406 | min-residency-us = <1000>; | ||
| 1407 | wakeup-latency-us = <130>; | ||
| 1408 | idle-state-name = "cpu-sleep"; | ||
| 1409 | status = "disabled"; | ||
| 1410 | }; | ||
| 1392 | }; | 1411 | }; |
| 1393 | }; | 1412 | }; |
| 1394 | 1413 | ||
