Integrate linux-seco-imx/seco_lf-5.10.y-thermal
thermal/drivers/imx8mm_thermal: Validate temperature range
Check against the upper temperature limit (125 degrees C) before consider the temperature valid.
--
thermal/drivers/imx8mm: Enable ADC when enabling monitor
The i.MX 8MP has a ADC_PD bit in the TMU_TER register that controls the operating mode of the ADC:
- 0 means normal operating mode
- 1 means power down mode
When enabling/disabling the TMU, the ADC operating mode must be set accordingly.
i.MX 8M Mini & Nano are lacking this bit.
--
thermal: imx8mm: Disable the clock on probe failure
Prior to returning an error in probe, disable the previously enabled clock.