Skip to content
Commit 3de89d88 authored by Paul Gerber's avatar Paul Gerber Committed by Daniel Lezcano
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.

Signed-off-by: default avatarPaul Gerber <Paul.Gerber@tq-group.com>
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Fixes: 2b8f1f03 ("thermal: imx8mm: Add i.MX8MP support")
Link: https://lore.kernel.org/r/20211122114225.196280-1-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 673c68bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment