MX8MN: Thermal driver doesn`t report temperatures below 10 degree celcius

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MX8MN: Thermal driver doesn`t report temperatures below 10 degree celcius

跳至解决方案
930 次查看
MikeEngel
Contributor IV

Hi all,

using the Linux  kernel 5.4 and the MX8MN we have seen that when temperature drops below 10 degree celius the thermal driver report resource temporarily unavailable. 

In the source code of the driver (drivers/thermal/imx8mm_thermal.c) the following code will cause this behavior. 

if (tmu->socdata->flags == FLAGS_TMU_VER1) {
       val = readl_relaxed(tmu->base + TRITSR) & TRITSR_VAL_MASK;
       if (val < TEMP_LOW_LIMIT) {
               return -EAGAIN;
       }
}

Any explanation why the MX8MN has this low temperature limitation? 

Can this limitation be removed for industrial versions of the CPU?

Best regards,

--

Mike

0 项奖励
回复
1 解答
907 次查看
nxf63675
NXP TechSupport
NXP TechSupport

Hi @MikeEngel ,

 

Based on IMX8MN Datasheet we have Temperature Sensor Accuracy set to 10-105 (Table 10. Operating ranges).

This is the reason of the limitation and it is applied in industrial products.

 

Regards,

Israel H.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
908 次查看
nxf63675
NXP TechSupport
NXP TechSupport

Hi @MikeEngel ,

 

Based on IMX8MN Datasheet we have Temperature Sensor Accuracy set to 10-105 (Table 10. Operating ranges).

This is the reason of the limitation and it is applied in industrial products.

 

Regards,

Israel H.

0 项奖励
回复
903 次查看
MikeEngel
Contributor IV

Thanks for this information. I found the data in the document you mentioned.

0 项奖励
回复