diff mbox series

The default fan policy causes rock5b to restart when streaming media and sometimes the policy does not always work

Message ID tencent_9F33F82589FF024D0F722F2C95E965BCF608@qq.com (mailing list archive)
State New
Headers show
Series The default fan policy causes rock5b to restart when streaming media and sometimes the policy does not always work | expand

Commit Message

Steven Feng Nov. 1, 2023, 3:59 a.m. UTC
Signed-off-by: Steven Feng <steven@joint-cloud.com>
---
 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 8ab60968f275..974d09a8cb26 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -38,10 +38,20 @@  analog-sound {
 
 	fan: pwm-fan {
 		compatible = "pwm-fan";
-		cooling-levels = <0 95 145 195 255>;
+		cooling-levels = <72 94 117 139 162 184 207 229 255>;
 		fan-supply = <&vcc5v0_sys>;
 		pwms = <&pwm1 0 50000 0>;
 		#cooling-cells = <2>;
+		rockchip,temp-trips = <
+					40000	1
+					45000	2
+					50000	3
+					55000	4
+					60000	5
+					65000	6
+					70000	7
+					75000	8
+				>;
 	};
 
 	vcc5v0_host: vcc5v0-host-regulator {