Skip to contentSkip to conversation

arm64: dts: meson: vim3: reduce cpu thermal fan trigger temperature

PATCH In review [email protected] 3 participants 6 messages Jun 9, 2021 – Jun 14, 2021 1 message not in the archive

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

PATCH 1/1 arm64: dts: meson: vim3: reduce cpu thermal fan trigger temperature

From: Nick Xie <[email protected]>

Reduce the MCU FAN trigger temperature from
80 degree centigrade to 50 degree centigrade.

---
 arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +1 -1
index 66d67524b031..a9c34fee91f4 100644
@@ -256,7 +256,7 @@ &cecb_AO {
 &cpu_thermal {
 	trips {
 		cpu_active: cpu-active {
-			temperature = <80000>; /* millicelsius */
+			temperature = <50000>; /* millicelsius */
 			hysteresis = <2000>; /* millicelsius */
 			type = "active";
 		};
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Nick,

Quoted 4 lines · On 09/06/2021 03:28, [email protected] wrote:

From: Nick Xie <[email protected]>

Reduce the MCU FAN trigger temperature from
80 degree centigrade to 50 degree centigrade.

Can you add some more rationale to this change ?

Quoted 12 lines
---
 arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +0 -0
index 66d67524b031..a9c34fee91f4 100644

arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi &cecb_AO { · line 262

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +1 -1
@@ -256,7 +256,7 @@ &cecb_AO {
 &cpu_thermal {
 	trips {
 		cpu_active: cpu-active {
-			temperature = <80000>; /* millicelsius */
+			temperature = <50000>; /* millicelsius */
 			hysteresis = <2000>; /* millicelsius */
 			type = "active";
 		};

With that:

A message that is not in the archive (sent off-list or not yet received): CAP4nuTVMZV7pz8NrM2MHcZzBdueRXjS+KYsU4=cQ1CB67gr_Hg@mail.gmail.com

#3 lore raw

Hi,

Quoted 4 lines · Nick Xie

Hello Neil,

The MCU FAN won't work until the temperature reach to 80 degree centigrade, Do you think the temperature is too high?

I think 80 is tool high, but I fear 50 is way too low, but if you think 50 is OK after you ran some tests, just add it to the commit log and it's ok for me.

Neil

Quoted 39 lines

Thanks.

Neil Armstrong <[email protected] <mailto:[email protected]>> 于2021年6月11日周五 下午2:44写道:

    Hi Nick,

    On 09/06/2021 03:28, [email protected] <mailto:[email protected]> wrote:
    > From: Nick Xie <[email protected] <mailto:[email protected]>>
    >
    > Reduce the MCU FAN trigger temperature from
    > 80 degree centigrade to 50 degree centigrade.

    Can you add some more rationale to this change ?

    >
    > Signed-off-by: Nick Xie <[email protected] <mailto:[email protected]>>
    > ---
    >  arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 2 +-
    >  1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > index 66d67524b031..a9c34fee91f4 100644
    > --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > @@ -256,7 +256,7 @@ &cecb_AO {
    >  &cpu_thermal {
    >       trips {
    >               cpu_active: cpu-active {
    > -                     temperature = <80000>; /* millicelsius */
    > +                     temperature = <50000>; /* millicelsius */
    >                       hysteresis = <2000>; /* millicelsius */
    >                       type = "active";
    >               };
    >

    With that:
    Reviewed-by: Neil Armstrong <[email protected] <mailto:[email protected]>>
author
#4 lore raw

Hello Neil,

Quoted 10 lines · Neil Armstrong <[email protected]> 于2021年6月11日周五 下午3:15写道:

Hi,

Quoted 4 lines · Nick Xie

Hello Neil,

The MCU FAN won't work until the temperature reach to 80 degree centigrade, Do you think the temperature is too high?

I think 80 is tool high, but I fear 50 is way too low, but if you think 50 is OK after you ran some tests, just add it to the commit log and it's ok for me.

I think it is OK, we use it for a long time.

Thanks.

Quoted 43 lines

Neil

Quoted 39 lines

Thanks.

Neil Armstrong <[email protected] <mailto:[email protected]>> 于2021年6月11日周五 下午2:44写道:

    Hi Nick,

    On 09/06/2021 03:28, [email protected] <mailto:[email protected]> wrote:
    > From: Nick Xie <[email protected] <mailto:[email protected]>>
    >
    > Reduce the MCU FAN trigger temperature from
    > 80 degree centigrade to 50 degree centigrade.

    Can you add some more rationale to this change ?

    >
    > Signed-off-by: Nick Xie <[email protected] <mailto:[email protected]>>
    > ---
    >  arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 2 +-
    >  1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > index 66d67524b031..a9c34fee91f4 100644
    > --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
    > @@ -256,7 +256,7 @@ &cecb_AO {
    >  &cpu_thermal {
    >       trips {
    >               cpu_active: cpu-active {
    > -                     temperature = <80000>; /* millicelsius */
    > +                     temperature = <50000>; /* millicelsius */
    >                       hysteresis = <2000>; /* millicelsius */
    >                       type = "active";
    >               };
    >

    With that:
    Reviewed-by: Neil Armstrong <[email protected] <mailto:[email protected]>>

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

#5 lore raw
Quoted 8 lines · Nick Xie

Hello Neil,

Quoted 4 lines · Neil Armstrong <[email protected]> 于2021年6月11日周五 下午3:15写道:

Hi,

On 11/06/2021 08:54, Nick Xie wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Hello Neil,

The MCU FAN won't work until the temperature reach to 80 degree centigrade, Do you think the temperature is too high?

I think 80 is tool high, but I fear 50 is way too low, but if you think 50 is OK after you ran some tests, just add it to the commit log and it's ok for me.

I think it is OK, we use it for a long time.

50°C sounds like normal temperature with regular load. That means the fan will be switched on most of the time when the board is used.

And this change may be put in regard with the other trip points in the common DT. For instance, enable the fan when reaching 80°C but set the passive trip point to 75°C instead of 85°C.

All that depends on the hardware characteristics and TDP which are in the TRM normally.

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#6 lore raw

Hi,

Quoted 21 lines · Daniel Lezcano
Quoted 8 lines · Nick Xie

Hello Neil,

Quoted 4 lines · Neil Armstrong <[email protected]> 于2021年6月11日周五 下午3:15写道:

Hi,

On 11/06/2021 08:54, Nick Xie wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Hello Neil,

The MCU FAN won't work until the temperature reach to 80 degree centigrade, Do you think the temperature is too high?

I think 80 is tool high, but I fear 50 is way too low, but if you think 50 is OK after you ran some tests, just add it to the commit log and it's ok for me.

I think it is OK, we use it for a long time.

50°C sounds like normal temperature with regular load. That means the fan will be switched on most of the time when the board is used.

Quoted 7 lines

And this change may be put in regard with the other trip points in the common DT. For instance, enable the fan when reaching 80°C but set the passive trip point to 75°C instead of 85°C.

All that depends on the hardware characteristics and TDP which are in the TRM normally.

I don't think such data exist in the datasheet or other public document, but the vendor source tree sets:
- passive: 75°C
- hot 85°C
- critical 110°C

we set upstream:
- passive: 85°C
- hot 95°C
- critical 110°C

so maybe we should lower the passive & hot trip points, then the FAN 80°C trip point would be ok now according to Daniel's explanation.

Neil

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