Pmic Temp
Reading the PMIC Temperature¶
The power management IC (PMIC) of the VAR-SOM-MX8X has a built-in temperature sensor that can be read. The temperature is reported in millidegrees Celsius:
Info
The PMIC does not provide a continuous temperature reading in millidegres. Instead, it reports quantized temperature levels with discrete thresholds at 80, 95, 110, 125, 140, and 155C.
For temperatures below 80C, the reported value stays at 70C.
To verify you're reading the correct thermal sensor, check its type:
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:
As shown above, there are two thermal setpoints, 110C and 125C. The setpoints are configured in the device tree node pmic-thermal0 within imx8qxp-var-som.dtsi: