i.MX8M Mini Linux thermal zone action

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8M Mini Linux thermal zone action

Jump to solution
3,475 Views
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>;

                       };

                 };

           };

      };

 

Labels (1)
0 Kudos
Reply
1 Solution
3,170 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
3,171 Views
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 Kudos
Reply
2,752 Views
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 Kudos
Reply