SOC Thermal

From Variscite Wiki
Warning: This page is designed to be used with a 'release' URL parameter.

This page is using the default release mx93-yocto-kirkstone-5.15.71_2.2.0-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:

  1. Visit variwiki.com
  2. Select your SoM
  3. Select the software release


SoC Thermal Temperature

Reading the SOC Temperature

The mx93 SOC has an internal temperature sensor that can be read. The temperature is reported in millidegrees Celsius:

root@imx93-var-som:~# cat /sys/class/thermal/thermal_zone0/temp                                                                          
43000

Thermal Setpoints

The Linux kernel will throttle the CPU and GPU based on setpoints configured in the Linux device tree.

The following demonstrates how to read the setpoints for the imx8mp-var-dart with the 5.15-2.0.x-imx_var01 kernel branch, but is similar for all platforms and kernel versions:

root@imx8mp-var-dart:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
85000
root@imx8mp-var-dart:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
95000

As shown above, there are two thermal setpoints, 85C and 95C. The setpoints are configured in the device tree: https://github.com/varigit/linux-imx/blob/5.15-2.0.x-imx_var01/arch/arm64/boot/dts/freescale/imx8mp.dtsi#L507-L567.