mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ARM64: dts: rk3399: support cluster idle feature
Add cluster sleep in cpu idle_states for RK3399 SoCs. Change-Id: I85ea62f9af0d0c61e866a1937f79921d854fd1dc Signed-off-by: tony.xie <tony.xie@rock-chips.com> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
clocks = <&cru ARMCLKL>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <100>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
cpu_l1: cpu@1 {
|
||||
@@ -88,7 +88,7 @@
|
||||
clocks = <&cru ARMCLKL>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <100>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
cpu_l2: cpu@2 {
|
||||
@@ -99,7 +99,7 @@
|
||||
clocks = <&cru ARMCLKL>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <100>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
cpu_l3: cpu@3 {
|
||||
@@ -110,7 +110,7 @@
|
||||
clocks = <&cru ARMCLKL>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <100>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
cpu_b0: cpu@100 {
|
||||
@@ -121,7 +121,7 @@
|
||||
clocks = <&cru ARMCLKB>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <436>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
cpu_b1: cpu@101 {
|
||||
@@ -132,18 +132,28 @@
|
||||
clocks = <&cru ARMCLKB>;
|
||||
#cooling-cells = <2>; /* min followed by max */
|
||||
dynamic-power-coefficient = <436>;
|
||||
cpu-idle-states = <&cpu_sleep>;
|
||||
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
|
||||
};
|
||||
|
||||
idle-states {
|
||||
entry-method = "psci";
|
||||
cpu_sleep: cpu-sleep-0 {
|
||||
|
||||
CPU_SLEEP: cpu-sleep {
|
||||
compatible = "arm,idle-state";
|
||||
local-timer-stop;
|
||||
arm,psci-suspend-param = <0x0010000>;
|
||||
entry-latency-us = <350>;
|
||||
exit-latency-us = <600>;
|
||||
min-residency-us = <1150>;
|
||||
entry-latency-us = <120>;
|
||||
exit-latency-us = <250>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
|
||||
CLUSTER_SLEEP: cluster-sleep {
|
||||
compatible = "arm,idle-state";
|
||||
local-timer-stop;
|
||||
arm,psci-suspend-param = <0x1010000>;
|
||||
entry-latency-us = <400>;
|
||||
exit-latency-us = <500>;
|
||||
min-residency-us = <2000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user