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

dt-bindings: thermal: simplify few bindings

Simplify few bindings which already reference thermal-sensor.yaml schema
by dropping unneeded requiring of '#thermal-sensor-cells' and dropping
assigned-clocks properties (core schema allows it if 'clocks' are
there).

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
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-21-554061b52fbc@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
bbb4c179 a985dcec

-11
-1
Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
··· 42 42 required: 43 43 - compatible 44 44 - reg 45 - - "#thermal-sensor-cells" 46 45 47 46 examples: 48 47 - |
-1
Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml
··· 34 34 - compatible 35 35 - reg 36 36 - clocks 37 - - '#thermal-sensor-cells' 38 37 39 38 examples: 40 39 - |
-1
Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml
··· 28 28 29 29 required: 30 30 - compatible 31 - - '#thermal-sensor-cells' 32 31 33 32 additionalProperties: false 34 33
-1
Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
··· 38 38 - compatible 39 39 - reg 40 40 - interrupts 41 - - '#thermal-sensor-cells' 42 41 43 42 if: 44 43 properties:
-1
Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
··· 99 99 - resets 100 100 - nvmem-cells 101 101 - nvmem-cell-names 102 - - "#thermal-sensor-cells" 103 102 104 103 additionalProperties: false 105 104
-1
Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml
··· 197 197 - clock-names 198 198 - resets 199 199 - reset-names 200 - - "#thermal-sensor-cells" 201 200 202 201 allOf: 203 202 - $ref: thermal-sensor.yaml
-4
Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
··· 48 48 "#thermal-sensor-cells": 49 49 const: 1 50 50 51 - assigned-clock-parents: true 52 - assigned-clock-rates: true 53 - assigned-clocks: true 54 - 55 51 required: 56 52 - compatible 57 53 - reg
-1
Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
··· 42 42 - compatible 43 43 - reg 44 44 - interrupts 45 - - '#thermal-sensor-cells' 46 45 47 46 additionalProperties: false 48 47