ARM: dts: rockchip: raise CPU trip point temperature for veyron to 100 degC
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 16 May 2019 16:29:40 +0000 (09:29 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 19 May 2019 23:00:20 +0000 (01:00 +0200)
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.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-speedy.dts
arch/arm/boot/dts/rk3288-veyron.dtsi

index 2ac8748a3a0cc0fc22d33b40bc53f49cceecd730..b07a07e81551cd458fdb5652d531e8e8de80a54b 100644 (file)
        temperature = <70000>;
 };
 
+&cpu_crit {
+       temperature = <90000>;
+};
+
 &edp {
        /delete-property/pinctrl-names;
        /delete-property/pinctrl-0;
index 1252522392c73f475150061672cff5251773a4e5..e81f1a0cac83d5e0aa039bafb1983c5cbace7e43 100644 (file)
        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;
 
        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 {