All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Feng <steven@joint-cloud.com>
To: heiko@sntech.de
Cc: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, naoki@radxa.com,
	Steven Feng <steven@joint-cloud.com>
Subject: [PATCH] The default fan policy causes rock5b to restart  when streaming media and sometimes the policy does not always work
Date: Wed,  1 Nov 2023 11:59:21 +0800	[thread overview]
Message-ID: <tencent_9F33F82589FF024D0F722F2C95E965BCF608@qq.com> (raw)

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 --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 {
-- 
2.34.1


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Steven Feng <steven@joint-cloud.com>
To: heiko@sntech.de
Cc: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, naoki@radxa.com,
	Steven Feng <steven@joint-cloud.com>
Subject: [PATCH] The default fan policy causes rock5b to restart  when streaming media and sometimes the policy does not always work
Date: Wed,  1 Nov 2023 11:59:21 +0800	[thread overview]
Message-ID: <tencent_9F33F82589FF024D0F722F2C95E965BCF608@qq.com> (raw)

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 --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 {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Steven Feng <steven@joint-cloud.com>
To: heiko@sntech.de
Cc: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, naoki@radxa.com,
	Steven Feng <steven@joint-cloud.com>
Subject: [PATCH] The default fan policy causes rock5b to restart  when streaming media and sometimes the policy does not always work
Date: Wed,  1 Nov 2023 11:59:21 +0800	[thread overview]
Message-ID: <tencent_9F33F82589FF024D0F722F2C95E965BCF608@qq.com> (raw)

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 --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 {
-- 
2.34.1


             reply	other threads:[~2023-11-01  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01  3:59 Steven Feng [this message]
2023-11-01  3:59 ` [PATCH] The default fan policy causes rock5b to restart when streaming media and sometimes the policy does not always work Steven Feng
2023-11-01  3:59 ` Steven Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_9F33F82589FF024D0F722F2C95E965BCF608@qq.com \
    --to=steven@joint-cloud.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=naoki@radxa.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.