Skip to content

Integrate linux-seco-imx/seco_lf-5.10.y-thermal

GitBot requested to merge linux-seco-imx/seco_lf-5.10.y-thermal into kirkstone

Commit: edgehog/bsp/nxp/linux-seco-imx@7093ee37

thermal/drivers/imx8mm_thermal: Validate temperature range

Check against the upper temperature limit (125 degrees C) before consider the temperature valid.

REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=37fb4e13d221a281179cf2732dba7c4a212c4911

--

Commit: edgehog/bsp/nxp/linux-seco-imx@22dc8878

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.

REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=4c12feec2dfde62dea8dabe1d2dd78ee340ba048

--

Commit: edgehog/bsp/nxp/linux-seco-imx@cbea48f3

thermal: imx8mm: Disable the clock on probe failure

Prior to returning an error in probe, disable the previously enabled clock.

REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/drivers/thermal/imx8mm_thermal.c?h=toradex_5.15-2.2.x-imx&id=e57eb8b5050c9b6d63eea26b194d96744fe4018a

Merge request reports