]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: thermal: Drop 'trips' node as required
authorRob Herring (Arm) <robh@kernel.org>
Tue, 9 Jul 2024 15:01:53 +0000 (09:01 -0600)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 15 Jul 2024 11:31:40 +0000 (13:31 +0200)
It is possible to have thermal zones which don't have any trip points.
These zones in effect simply represent a temperature sensor without any
action associated with it. While the schema has always required a
'trips' node, users have existed for a long time without it. Update the
schema to match reality.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240709150154.3272825-1-robh@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/thermal/thermal-zones.yaml

index 606b80965a44a06750dc103ea6b601c0b6844544..0f435be1dbd8cfb4502be9d198ed6d51058f453b 100644 (file)
@@ -232,7 +232,6 @@ patternProperties:
 
     required:
       - thermal-sensors
-      - trips
 
     additionalProperties: false