dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"
authorRafał Miłecki <rafal@milecki.pl>
Thu, 15 Apr 2021 11:21:21 +0000 (13:21 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Apr 2021 20:46:48 +0000 (22:46 +0200)
This property is required for every thermal sensor as it's used when
using phandles.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210415112121.4999-1-zajec5@gmail.com
Documentation/devicetree/bindings/thermal/thermal-sensor.yaml

index 9f74792..4bd345c 100644 (file)
@@ -36,6 +36,9 @@ properties:
       containing several internal sensors.
     enum: [0, 1]
 
+required:
+  - "#thermal-sensor-cells"
+
 additionalProperties: true
 
 examples: