Skip to contentSkip to conversation

ARM: dts: rockchip: raise CPU trip point temperature for veyron to 100 degC

PATCH Applied Matthias Kaehlcke 3 participants 7 messages May 16, 2019 – May 17, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 ARM: dts: rockchip: raise CPU trip point temperature for veyron to 100 degC

This value matches what is used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for veyron devices. Keep the temperature for 'speedy' at 90°C, as in the downstream kernel.

Increase the temperature for a hardware shutdown to 125°C, which matches the downstream configuration and gives the system a chance to shut down orderly at the criticial trip point.

---
Changes in v2:
- patch added to the series

---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 5 +++++
 2 files changed, 9 insertions(+)
arch/arm/boot/dts/rk3288-veyron-speedy.dts +4 -0
index e16421d80d22..ab2a66aa337e 100644
@@ -64,6 +64,10 @@
 	temperature = <70000>;
 };
 
+&cpu_crit {
+	temperature = <90000>;
+};
+
 &edp {
 	/delete-property/pinctrl-names;
 	/delete-property/pinctrl-0;
arch/arm/boot/dts/rk3288-veyron.dtsi +5 -0
index 192dbc089ade..58dc538b5df3 100644
@@ -99,6 +99,10 @@
 	cpu0-supply = <&vdd_cpu>;
 };
 
+&cpu_crit {
+	temperature = <100000>;
+};
+
 /* rk3288-c used in Veyron Chrome-devices has slightly changed OPPs */
 &cpu_opp_table {
 	/delete-node/ opp-312000000;
@@ -371,6 +375,7 @@
 
 	rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
 	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
+	rockchip,hw-tshut-temp = <125000>;
 };
 
 &uart0 {
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#1 lore raw

PATCH v2 2/3 ARM: dts: rockchip: raise GPU trip point temperatures for veyron

The values match thorse used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for veyron devices. Keep the critical trip point for speedy at 90°C as in the downstream configuration.

---
Changes in v2:
- also raise temperature of critical trip point
- add entries at position in alphabetical order
- added entry to keep critical trip point for speedy at 90°C
- updated commit message

---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 8 ++++++++
 2 files changed, 12 insertions(+)
arch/arm/boot/dts/rk3288-veyron-speedy.dts +4 -0
index ab2a66aa337e..3d2769f1bef2 100644
@@ -75,6 +75,10 @@
 	force-hpd;
 };
 
+&gpu_crit {
+	temperature = <90000>;
+};
+
 &panel {
 	power-supply= <&panel_regulator>;
 };
arch/arm/boot/dts/rk3288-veyron.dtsi +8 -0
index 58dc538b5df3..aee8350b2800 100644
@@ -142,6 +142,14 @@
 	status = "okay";
 };
 
+&gpu_alert0 {
+	temperature = <72500>;
+};
+
+&gpu_crit {
+	temperature = <100000>;
+};
+
 &hdmi {
 	ddc-i2c-bus = <&i2c5>;
 	status = "okay";
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
Reviewed-by on v2 2/3
#2 lore raw

Re: [PATCH v2 2/3] ARM: dts: rockchip: raise GPU trip point temperatures for veyron

Hi,

Quoted 11 lines · Matthias Kaehlcke

The values match thorse used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for veyron devices. Keep the critical trip point for speedy at 90°C as in the downstream configuration.

---
Changes in v2:
- also raise temperature of critical trip point
- add entries at position in alphabetical order
- added entry to keep critical trip point for speedy at 90°C
- updated commit message

Quoted 4 lines
---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 8 ++++++++
 2 files changed, 12 insertions(+)
#3 lore raw

PATCH v2 3/3 ARM: dts: raise GPU trip point temperature for speedy to 80 degC

In reply to Matthias Kaehlcke

Raise the temperature of the GPU thermal trip point for speedy to 80°C. This is the value used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for speedy.

---
Changes in v2:
- add entry at position in alphabetical order

---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/rk3288-veyron-speedy.dts +4 -0
index 3d2769f1bef2..6f870d89866b 100644
@@ -75,6 +75,10 @@
 	force-hpd;
 };
 
+&gpu_alert0 {
+	temperature = <80000>;
+};
+
 &gpu_crit {
 	temperature = <90000>;
 };
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
Reviewed-by on v2 3/3
#4 lore raw

Re: [PATCH v2 3/3] ARM: dts: raise GPU trip point temperature for speedy to 80 degC

Hi,

Quoted 11 lines · Matthias Kaehlcke

Raise the temperature of the GPU thermal trip point for speedy to 80°C. This is the value used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for speedy.

---
Changes in v2:
- add entry at position in alphabetical order

---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 1 file changed, 4 insertions(+)
Reviewed-by on v2 1/3
#5 lore raw
In reply to Matthias Kaehlcke

Hi,

Quoted 8 lines · Matthias Kaehlcke

This value matches what is used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for veyron devices. Keep the temperature for 'speedy' at 90°C, as in the downstream kernel.

Increase the temperature for a hardware shutdown to 125°C, which matches the downstream configuration and gives the system a chance to shut down orderly at the criticial trip point.

Quoted 8 lines

---
Changes in v2:
- patch added to the series

---
 arch/arm/boot/dts/rk3288-veyron-speedy.dts | 4 ++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 5 +++++
 2 files changed, 9 insertions(+)

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

maintainer Applied
#6 lore raw
In reply to Matthias Kaehlcke

Am Donnerstag, 16. Mai 2019, 18:29:40 CEST schrieb Matthias Kaehlcke:

Quoted 9 lines

This value matches what is used by the downstream Chrome OS 3.14 kernel, the 'official' kernel for veyron devices. Keep the temperature for 'speedy' at 90°C, as in the downstream kernel.

Increase the temperature for a hardware shutdown to 125°C, which matches the downstream configuration and gives the system a chance to shut down orderly at the criticial trip point.

applied all 3 for 5.3 with Doug's RB and did a small fix to the commit message of patch2 ("thorse").

Thanks
Heiko