kernel/drivers/thermal/imx8mm_thermal.c
.. .. @@ -65,8 +65,14 @@ 65 65 u32 val; 66 66 67 67 val = readl_relaxed(tmu->base + TRITSR) & TRITSR_TEMP0_VAL_MASK; 68 +69 + /*70 + * Do not validate against the V bit (bit 31) due to errata71 + * ERR051272: TMU: Bit 31 of registers TMU_TSCR/TMU_TRITSR/TMU_TRATSR invalid72 + */73 +68 74 *temp = val * 1000; 69 - if (*temp < VER1_TEMP_LOW_LIMIT)75 + if (*temp < VER1_TEMP_LOW_LIMIT || *temp > VER2_TEMP_HIGH_LIMIT)70 76 return -EAGAIN; 71 77 72 78 return 0;