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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
685 Views
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 Kudos
1 Solution
662 Views
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.

View solution in original post

0 Kudos
2 Replies
663 Views
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 Kudos
658 Views
MikeEngel
Contributor IV

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

0 Kudos