Skip to content

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

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-imx/-/commit/c00a9a18efd38216b1aeadd6772d586d7a5e298c

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

--

Commit: https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/ff66e977d0b2cf925346c85641e8fb6222d5aaae

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/449aecc34e1937fdd9010509f434e16d643ee475

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/50f92387f92d87954df570e5cc0146fc45415e8a

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

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

Loading