Skip to contentSkip to conversation

dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"

PATCH Applied Rafał Miłecki 3 participants 3 messages Apr 15, 2021 – Apr 27, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells"

From: Rafał Miłecki <[email protected]>

This property is required for every thermal sensor as it's used when using phandles.

---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/thermal/thermal-sensor.yaml +3 -0
index 9f747921e851..4bd345c71eb8 100644
@@ -36,6 +36,9 @@ properties:
       containing several internal sensors.
     enum: [0, 1]
 
+required:
+  - "#thermal-sensor-cells"
+
 additionalProperties: true
 
 examples:
Signature · 1 line
2.26.2
#2 lore raw
In reply to Rafał Miłecki
The following commit has been merged into the thermal/next branch of thermal:

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 <[email protected]>
AuthorDate:    Thu, 15 Apr 2021 13:21:21 +02:00
Committer:     Daniel Lezcano <[email protected]>
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.

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