dt-bindings: thermal-zones: Don't require polling-delay(-passive)
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 25 Jan 2024 12:11:15 +0000 (13:11 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 11 Mar 2024 16:14:46 +0000 (17:14 +0100)
commit8d5d6abf28ae67c0062de9983254f1a5b6964961
tree97692d8185a1cbc2fbf522c1e01b21b1ac23c425
parent4d0642074c67ed9928e9d68734ace439aa06e403
dt-bindings: thermal-zones: Don't require polling-delay(-passive)

Currently, thermal zones associated with providers that have interrupts
for signaling hot/critical trips are required to set a polling-delay
of 0 to indicate no polling. This feels a bit backwards.

Assume 0 (no polling) when these properties are not defined.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240125-topic-thermal-v1-1-3c9d4dced138@linaro.org
Documentation/devicetree/bindings/thermal/thermal-zones.yaml