Skip to content

Pmic Temp

Reading the PMIC Temperature

The power management IC (PMIC) of the VAR-SOM-MX8 has a built-in temperature sensor that can be read. The temperature is reported in millidegrees Celsius:

cat /sys/class/thermal/thermal_zone0/temp
70000

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:

cat /sys/class/thermal/thermal_zone0/type
pmic-thermal0

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:

cat /sys/class/thermal/thermal_zone0/trip_point_*_temp
110000
125000

As shown above, there are two thermal setpoints, 110C and 125C. The setpoints are configured in the device tree node pmic-thermal0 within imx8qm-var-som.dtsi: