diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-04-15 13:21:21 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-04-20 22:46:48 +0200 |
commit | bd5d553653e4151030ad2a94ef39a46b40c75a9b (patch) | |
tree | 0e51fc40fce7b4900d4110dc89c95eb68bc884a3 /Documentation/devicetree/bindings/thermal | |
parent | 5a4a8235fee69b5a31cf1c56a9fa14b0d21a930c (diff) | |
download | linux-bd5d553653e4151030ad2a94ef39a46b40c75a9b.tar.gz |
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
Diffstat (limited to 'Documentation/devicetree/bindings/thermal')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 3 |
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: |