summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ad1fc1)
add cpus' dynamic power coefficient and update alert temperature
Change-Id: I502e49d52268b63625e01103b50e6c18fb8da8b0
Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
enable-method = "psci";
clocks = <&cru ARMCLKL>;
operating-points-v2 = <&cluster0_opp>;
enable-method = "psci";
clocks = <&cru ARMCLKL>;
operating-points-v2 = <&cluster0_opp>;
#cooling-cells = <2>; /* min followed by max */
#cooling-cells = <2>; /* min followed by max */
+ dynamic-power-coefficient = <149>;
enable-method = "psci";
clocks = <&cru ARMCLKB>;
operating-points-v2 = <&cluster1_opp>;
enable-method = "psci";
clocks = <&cru ARMCLKB>;
operating-points-v2 = <&cluster1_opp>;
#cooling-cells = <2>; /* min followed by max */
#cooling-cells = <2>; /* min followed by max */
+ dynamic-power-coefficient = <160>;
- polling-delay-passive = <100>; /* milliseconds */
- polling-delay = <5000>; /* milliseconds */
+ polling-delay-passive = <300>; /* milliseconds */
+ polling-delay = <300>; /* milliseconds */
+ sustainable-power = <600>; /* milliwatts */
thermal-sensors = <&tsadc 0>;
thermal-sensors = <&tsadc 0>;
trips {
cpu_alert0: cpu_alert0 {
trips {
cpu_alert0: cpu_alert0 {
- temperature = <75000>; /* millicelsius */
+ temperature = <70000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
type = "passive";
};
cpu_crit: cpu_crit {
type = "passive";
};
cpu_crit: cpu_crit {
- temperature = <95000>; /* millicelsius */
+ temperature = <90000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "critical";
};
hysteresis = <2000>; /* millicelsius */
type = "critical";
};
- <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ contribution = <1024>;
};
map1 {
trip = <&cpu_alert1>;
cooling-device =
};
map1 {
trip = <&cpu_alert1>;
cooling-device =
- <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ contribution = <1024>;
- gpu {
- polling-delay-passive = <100>; /* milliseconds */
- polling-delay = <5000>; /* milliseconds */
-
+ gpu_thermal: gpu-thermal {
+ polling-delay-passive = <300>; /* milliseconds */
+ polling-delay = <300>; /* milliseconds */
thermal-sensors = <&tsadc 1>;
thermal-sensors = <&tsadc 1>;
-
- trips {
- gpu_alert0: gpu_alert0 {
- temperature = <80000>; /* millicelsius */
- hysteresis = <2000>; /* millicelsius */
- type = "passive";
- };
- gpu_crit: gpu_crit {
- temperature = <115000>; /* millicelsius */
- hysteresis = <2000>; /* millicelsius */
- type = "critical";
- };
- };
-
- cooling-maps {
- map0 {
- trip = <&gpu_alert0>;
- cooling-device =
- <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
- };
- };