]> Git Repo - J-u-boot.git/commit
thermal: imx_tmu: enable monitoring and default alert/critical
authorTim Harvey <[email protected]>
Sat, 6 Feb 2021 00:11:05 +0000 (16:11 -0800)
committerStefano Babic <[email protected]>
Mon, 1 Mar 2021 09:21:36 +0000 (10:21 +0100)
commitdeb78ff34ec0c188c433e9b1280a3deecc4eec28
tree8cfdb7c3e4651d3effd8a8366aa2b7cfa0ae6d7a
parent1ce6e10c61c7d74fce79749ef37066dcf5b52b41
thermal: imx_tmu: enable monitoring and default alert/critical

Set default critical/alert temperature and enabling monoitoring.

Without calling imx_tmu_enable_msite() monitoring will not be enabled
and read_temperature will return 0. Additionally without setting alert
temperature will cause imx_tmu_get_temp() to spin indefiniately thinking
the system needs to cool.

This resolves the board spinning endlessly when enabling IMX_TMU in the
SPL.

Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: Tim Harvey <[email protected]>
drivers/thermal/imx_tmu.c
This page took 0.036005 seconds and 4 git commands to generate.