aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_tmu.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-08-23 14:59:11 -0300
committerStefano Babic <stefano.babic@swupdate.org>2023-09-04 17:26:44 +0200
commita79fca7b44d0dee96e14d31de5869b35b587283c (patch)
tree0813ffb44b5dd52304857911dd1f6cd97b1cbd54 /drivers/thermal/imx_tmu.c
parentf4898e4b0ede5929cc1706d0da498d63375b1129 (diff)
downloadu-boot-a79fca7b44d0dee96e14d31de5869b35b587283c.zip
u-boot-a79fca7b44d0dee96e14d31de5869b35b587283c.tar.gz
u-boot-a79fca7b44d0dee96e14d31de5869b35b587283c.tar.bz2
thermal: imx_tmu: Increase the polling interval
Polling every second to check whether the CPU has cooled down is too frequent. Allow more time for the CPU to cool down by increasing the polling interval to 5 seconds by defaut. This value is used in the absence of the 'polling-delay' devicetree property. Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/thermal/imx_tmu.c')
-rw-r--r--drivers/thermal/imx_tmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx_tmu.c b/drivers/thermal/imx_tmu.c
index b877ee3..4721cfb 100644
--- a/drivers/thermal/imx_tmu.c
+++ b/drivers/thermal/imx_tmu.c
@@ -37,7 +37,7 @@ DECLARE_GLOBAL_DATA_PTR;
#define TER_ADC_PD 0x40000000
#define TER_ALPF 0x3
-#define IMX_TMU_POLLING_DELAY_MS 1000
+#define IMX_TMU_POLLING_DELAY_MS 5000
/*
* i.MX TMU Registers
*/