diff mbox series

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

Message ID 20210415112121.4999-1-zajec5@gmail.com
State New
Headers show
Series dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells" | expand

Commit Message

Rafał Miłecki April 15, 2021, 11:21 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

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

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring April 20, 2021, 8:33 p.m. UTC | #1
On Thu, 15 Apr 2021 13:21:21 +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>

> 

> This property is required for every thermal sensor as it's used when

> using phandles.

> 

> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

> ---

>  Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 3 +++

>  1 file changed, 3 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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: