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

dt-bindings: thermal: generic-adc: 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.

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

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
2410427c 0ae2a1a6

+3 -2
+3 -2
Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
··· 15 15 sensor resistor. The voltage read across the sensor is mapped to 16 16 temperature using voltage-temperature lookup table. 17 17 18 + $ref: thermal-sensor.yaml# 19 + 18 20 properties: 19 21 compatible: 20 22 const: generic-adc-thermal ··· 46 44 47 45 required: 48 46 - compatible 49 - - '#thermal-sensor-cells' 50 47 - io-channels 51 48 - io-channel-names 52 49 53 - additionalProperties: false 50 + unevaluatedProperties: false 54 51 55 52 examples: 56 53 - |