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
This commit is contained in:
Rafał Miłecki 2021-04-15 13:21:21 +02:00 committed by Daniel Lezcano
parent 5a4a8235fe
commit bd5d553653
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ properties:
containing several internal sensors.
enum: [0, 1]
required:
- "#thermal-sensor-cells"
additionalProperties: true
examples: