SoC Thermal Temperature¶
Reading the SoC Temperature¶
The i.MX 8X SoC has an internal temperature sensor that can be read. The temperature is reported in millidegrees Celsius:
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 imx8qxp-var-som with lf-6.6.y_6.6.52-2.2.0_var01 kernel branch, but is similar for all platforms and kernel versions:
As shown above, there are two thermal setpoints, 107C and 127C. The setpoints are configured in the device tree: https://github.com/varigit/linux-imx/blob/lf-6.6.y_6.6.52-2.2.0_var01/arch/arm64/boot/dts/freescale/imx8qxp.dtsi#L297-L326.