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: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/7093ee376fc4f72b95cc6c7ce1c77a8e3153c528

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: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/22dc887867a94dabd217fc49c3292921bf2a7d96

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: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/cbea48f34ab2543361cc7af3699b350e2b77acc0

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

Loading