summaryrefslogtreecommitdiff
path: root/drivers/thermal/rzg2l_thermal.c
diff options
context:
space:
mode:
authorPaul Gerber <Paul.Gerber@tq-group.com>2021-11-22 14:42:25 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-12-02 13:12:24 +0300
commit3de89d8842a2b5d3dd22ebf97dd561ae0a330948 (patch)
tree47490fb509fd6dbe646ad9370dac8e3aaeb075ea /drivers/thermal/rzg2l_thermal.c
parent673c68bd48390dad01f7d17670de3e33b60860ac (diff)
downloadlinux-3de89d8842a2b5d3dd22ebf97dd561ae0a330948.tar.xz
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: Paul Gerber <Paul.Gerber@tq-group.com> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Fixes: 2b8f1f0337c5 ("thermal: imx8mm: Add i.MX8MP support") Link: https://lore.kernel.org/r/20211122114225.196280-1-alexander.stein@ew.tq-group.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/rzg2l_thermal.c')
0 files changed, 0 insertions, 0 deletions