]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: imx_tmu: Select polling-rate from cpu-thermal devicetree node
authorBenjamin Hahn <B.Hahn@phytec.de>
Mon, 4 Mar 2024 11:48:54 +0000 (12:48 +0100)
committerFabio Estevam <festevam@gmail.com>
Sun, 17 Mar 2024 21:38:46 +0000 (18:38 -0300)
commit9ae369a0d696bd8d9c0cebf3b90e64b6b992b282
tree204458e910d5435b7e36170f59eebece5e905d57
parent1fd4c5ad73793a9af70d2d3095c7cb8605758ddd
drivers: imx_tmu: Select polling-rate from cpu-thermal devicetree node

The polling rate is already specified in some devicetrees, like
imx8mp.dtsi for example, but was not selected so far. For the
trippoints, the cpu-thermal node is used. Also get the polling rate from
this node. Use the default of 5000ms if the polling rate should not be
specified in the devicetree.

NOTE: The polling rate from the devicetree will be used after this
patch. In imx8*.dtsi devicetrees the polling delay is set to 2000ms for
example.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/thermal/imx_tmu.c