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-tm-hc: 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-9-554061b52fbc@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
df300226 b760aeec

+3 -5
+3 -5
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.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 const: qcom,spmi-adc-tm-hc ··· 22 20 23 21 "#thermal-sensor-cells": 24 22 const: 1 25 - description: 26 - Number of cells required to uniquely identify the thermal sensors. Since 27 - we have multiple sensors this is set to 1 28 23 29 24 "#address-cells": 30 25 const: 1 ··· 105 106 - interrupts 106 107 - "#address-cells" 107 108 - "#size-cells" 108 - - "#thermal-sensor-cells" 109 109 110 - additionalProperties: false 110 + unevaluatedProperties: false 111 111 112 112 examples: 113 113 - |