diff options
author | Howard Chen <howard.chen@linaro.org> | 2015-06-04 03:13:37 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2015-07-06 12:01:46 -0400 |
commit | ad4df7a53a148e2e9d917e254b4e9ec9fc860ac9 (patch) | |
tree | ad906b3952277cb4a1b5fa2b24d6cb491450cba5 | |
parent | c010ff530a04ca63d120e1fad0f4268302c5e845 (diff) |
ARM: dts: mt8173: support arm64 cpuidle-dt
This patch adds an idle-states node to describe the mt8173 idle states and
also adds references to the idle-states node in all CPU nodes.
Signed-off-by: Howard Chen <howard.chen@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 0696f8fa8fc2..359b8b6c235a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |||
@@ -51,6 +51,8 @@ | |||
51 | device_type = "cpu"; | 51 | device_type = "cpu"; |
52 | compatible = "arm,cortex-a53"; | 52 | compatible = "arm,cortex-a53"; |
53 | reg = <0x000>; | 53 | reg = <0x000>; |
54 | enable-method = "psci"; | ||
55 | cpu-idle-states = <&CPU_SLEEP_0>; | ||
54 | }; | 56 | }; |
55 | 57 | ||
56 | cpu1: cpu@1 { | 58 | cpu1: cpu@1 { |
@@ -58,6 +60,7 @@ | |||
58 | compatible = "arm,cortex-a53"; | 60 | compatible = "arm,cortex-a53"; |
59 | reg = <0x001>; | 61 | reg = <0x001>; |
60 | enable-method = "psci"; | 62 | enable-method = "psci"; |
63 | cpu-idle-states = <&CPU_SLEEP_0>; | ||
61 | }; | 64 | }; |
62 | 65 | ||
63 | cpu2: cpu@100 { | 66 | cpu2: cpu@100 { |
@@ -65,6 +68,7 @@ | |||
65 | compatible = "arm,cortex-a57"; | 68 | compatible = "arm,cortex-a57"; |
66 | reg = <0x100>; | 69 | reg = <0x100>; |
67 | enable-method = "psci"; | 70 | enable-method = "psci"; |
71 | cpu-idle-states = <&CPU_SLEEP_0>; | ||
68 | }; | 72 | }; |
69 | 73 | ||
70 | cpu3: cpu@101 { | 74 | cpu3: cpu@101 { |
@@ -72,6 +76,20 @@ | |||
72 | compatible = "arm,cortex-a57"; | 76 | compatible = "arm,cortex-a57"; |
73 | reg = <0x101>; | 77 | reg = <0x101>; |
74 | enable-method = "psci"; | 78 | enable-method = "psci"; |
79 | cpu-idle-states = <&CPU_SLEEP_0>; | ||
80 | }; | ||
81 | |||
82 | idle-states { | ||
83 | entry-method = "arm,psci"; | ||
84 | |||
85 | CPU_SLEEP_0: cpu-sleep-0 { | ||
86 | compatible = "arm,idle-state"; | ||
87 | local-timer-stop; | ||
88 | entry-latency-us = <639>; | ||
89 | exit-latency-us = <680>; | ||
90 | min-residency-us = <1088>; | ||
91 | arm,psci-suspend-param = <0x0010000>; | ||
92 | }; | ||
75 | }; | 93 | }; |
76 | }; | 94 | }; |
77 | 95 | ||