i.MX8M Mini Linux thermal zone action

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX8M Mini Linux thermal zone action

跳至解决方案
3,476 次查看
m_c
Senior Contributor I

May we have more detail actions (ex: lower frequency) if reach alert and critical temperature point?

 

 https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mm.d...

      thermal-zones {

           /* cpu thermal */

           cpu-thermal {

                 polling-delay-passive = <250>;

                 polling-delay = <2000>;

                 thermal-sensors = <&tmu>;

                 trips {

                       cpu_alert0: trip0 {

                             temperature = <85000>;

                             hysteresis = <2000>;

                             type = "passive";

                       };

 

                       cpu_crit0: trip1 {

                             temperature = <95000>;

                             hysteresis = <2000>;

                             type = "critical";

                       };

                 };

 

                 cooling-maps {

                       map0 {

                             trip = <&cpu_alert0>;

                             cooling-device =

                             <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;

                       };

                 };

           };

      };

 

标签 (1)
0 项奖励
回复
1 解答
3,171 次查看
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

seems details can be found only in sources of thermal drivers described in

sect.2.9.3 Source Code Structure attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,172 次查看
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

seems details can be found only in sources of thermal drivers described in

sect.2.9.3 Source Code Structure attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,753 次查看
marcelziswiler
Senior Contributor I

BTW: Looks like later NXP BSP releases now do have such settings available in the regular device tree:

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mm.dtsi?...

0 项奖励
回复