Skip to content

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

Commit: edgehog/layers/seco/meta-seco-imx@c00a9a18

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

--

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

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@449aecc3

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@50f92387

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

--

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

thermal: imx8mm: Print the correct error code

Currently the error message does not print the correct error code.

Fix it by initializing 'ret' to the proper error code.

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

Merge request reports