]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
thermal: imx_tmu: Increase the polling interval
authorFabio Estevam <festevam@denx.de>
Wed, 23 Aug 2023 17:59:11 +0000 (14:59 -0300)
committerStefano Babic <stefano.babic@swupdate.org>
Mon, 4 Sep 2023 15:26:44 +0000 (17:26 +0200)
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>
drivers/thermal/imx_tmu.c

index b877ee36878f86f43c9280e0e92516a3613f9bc4..4721cfbc021813108ba9a559d0ea9b471a52c269 100644 (file)
@@ -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
  */