Skip to content
Snippets Groups Projects
Commit 449aecc3 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti Committed by Michele Cirinei
Browse files

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
parent 50f92387
No related branches found
No related tags found
1 merge request!155[i.MX8MP] thermal: i.mx8mm: apply patches
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment