[thermal:,thermal/next] dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"

Message ID 161955267184.29796.4661105156582755515.tip-bot2@tip-bot2
State New
Headers show
Series
  • [thermal:,thermal/next] dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"
Related show

Commit Message

tip-bot2 for Thomas Gleixner April 27, 2021, 7:44 p.m.
The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     bd5d553653e4151030ad2a94ef39a46b40c75a9b
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//bd5d553653e4151030ad2a94ef39a46b40c75a9b
Author:        Rafał Miłecki <rafal@milecki.pl>
AuthorDate:    Thu, 15 Apr 2021 13:21:21 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 20 Apr 2021 22:46:48 +02:00

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 <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 | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
index 9f74792..4bd345c 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: