Solved! Go to Solution.
@Tori-san
Hello,
In out BSP, we have the fsl,imx8mm-tmu driver implemented in /drivers/thermal/imx8mm_thermal.c, which is enabled by default. One thing to note is that (in tmu_get_temp) the driver will report the value stored in TRITSR as current temperature, which means that the 1-point hardware calibration value is returned. If the customer wants to do the 2-points software calibration, they will have to update the driver by applying the formula described in the RM on the values returned in the registers. To get the result, there is an interface for the driver in /sys/class/thermal.
Regards,
Yuri.
@Tori-san
Hello,
In out BSP, we have the fsl,imx8mm-tmu driver implemented in /drivers/thermal/imx8mm_thermal.c, which is enabled by default. One thing to note is that (in tmu_get_temp) the driver will report the value stored in TRITSR as current temperature, which means that the 1-point hardware calibration value is returned. If the customer wants to do the 2-points software calibration, they will have to update the driver by applying the formula described in the RM on the values returned in the registers. To get the result, there is an interface for the driver in /sys/class/thermal.
Regards,
Yuri.