aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafał Miłecki <[email protected]>2021-04-15 13:21:21 +0200
committerDaniel Lezcano <[email protected]>2021-04-20 22:46:48 +0200
commitbd5d553653e4151030ad2a94ef39a46b40c75a9b (patch)
tree0e51fc40fce7b4900d4110dc89c95eb68bc884a3
parent5a4a8235fee69b5a31cf1c56a9fa14b0d21a930c (diff)
dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"
This property is required for every thermal sensor as it's used when using phandles. Signed-off-by: Rafał Miłecki <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--Documentation/devicetree/bindings/thermal/thermal-sensor.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
index 9f747921e851..4bd345c71eb8 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
@@ -36,6 +36,9 @@ properties:
containing several internal sensors.
enum: [0, 1]
+required:
+ - "#thermal-sensor-cells"
+
additionalProperties: true
examples: