Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema

Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240705-dt-bindings-thermal-allof-v1-10-554061b52fbc@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
c1bca276 df300226

+3 -5
+3 -5
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
··· 8 8 maintainers: 9 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 10 10 11 + $ref: thermal-sensor.yaml# 12 + 11 13 properties: 12 14 compatible: 13 15 enum: ··· 25 23 26 24 "#thermal-sensor-cells": 27 25 const: 1 28 - description: 29 - Number of cells required to uniquely identify the thermal sensors. Since 30 - we have multiple sensors this is set to 1 31 26 32 27 "#address-cells": 33 28 const: 1 ··· 158 159 - interrupts 159 160 - "#address-cells" 160 161 - "#size-cells" 161 - - "#thermal-sensor-cells" 162 162 163 - additionalProperties: false 163 + unevaluatedProperties: false 164 164 165 165 examples: 166 166 - |