Commit df300226 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Daniel Lezcano

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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240705-dt-bindings-thermal-allof-v1-9-554061b52fbc@linaro.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent b760aeec
...@@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring ...@@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring
maintainers: maintainers:
- Dmitry Baryshkov <dmitry.baryshkov@linaro.org> - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
$ref: thermal-sensor.yaml#
properties: properties:
compatible: compatible:
const: qcom,spmi-adc-tm-hc const: qcom,spmi-adc-tm-hc
...@@ -20,9 +22,6 @@ properties: ...@@ -20,9 +22,6 @@ properties:
"#thermal-sensor-cells": "#thermal-sensor-cells":
const: 1 const: 1
description:
Number of cells required to uniquely identify the thermal sensors. Since
we have multiple sensors this is set to 1
"#address-cells": "#address-cells":
const: 1 const: 1
...@@ -106,9 +105,8 @@ required: ...@@ -106,9 +105,8 @@ required:
- interrupts - interrupts
- "#address-cells" - "#address-cells"
- "#size-cells" - "#size-cells"
- "#thermal-sensor-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment