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>
This commit is contained in:
Krzysztof Kozlowski
2024-07-05 11:51:40 +02:00
committed by Daniel Lezcano
parent a985dceccd
commit bbb4c17939
8 changed files with 0 additions and 11 deletions

View File

@@ -42,7 +42,6 @@ additionalProperties: false
required:
- compatible
- reg
- "#thermal-sensor-cells"
examples:
- |

View File

@@ -34,7 +34,6 @@ required:
- compatible
- reg
- clocks
- '#thermal-sensor-cells'
examples:
- |

View File

@@ -28,7 +28,6 @@ properties:
required:
- compatible
- '#thermal-sensor-cells'
additionalProperties: false

View File

@@ -38,7 +38,6 @@ required:
- compatible
- reg
- interrupts
- '#thermal-sensor-cells'
if:
properties:

View File

@@ -99,7 +99,6 @@ required:
- resets
- nvmem-cells
- nvmem-cell-names
- "#thermal-sensor-cells"
additionalProperties: false

View File

@@ -197,7 +197,6 @@ required:
- clock-names
- resets
- reset-names
- "#thermal-sensor-cells"
allOf:
- $ref: thermal-sensor.yaml

View File

@@ -48,10 +48,6 @@ properties:
"#thermal-sensor-cells":
const: 1
assigned-clock-parents: true
assigned-clock-rates: true
assigned-clocks: true
required:
- compatible
- reg

View File

@@ -42,7 +42,6 @@ required:
- compatible
- reg
- interrupts
- '#thermal-sensor-cells'
additionalProperties: false