From: Rafał Miłecki Date: Thu, 15 Apr 2021 11:21:21 +0000 (+0200) Subject: dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bd5d553653e4151030ad2a94ef39a46b40c75a9b;p=linux.git 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 Acked-by: Rob Herring Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210415112121.4999-1-zajec5@gmail.com --- diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml index 9f747921e8518..4bd345c71eb83 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: