Skip to content

Commit bbb4c17

Browse files
krzkdlezcano
authored andcommitted
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 <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent a985dce commit bbb4c17

File tree

8 files changed

+0
-11
lines changed

8 files changed

+0
-11
lines changed

Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ additionalProperties: false
4242
required:
4343
- compatible
4444
- reg
45-
- "#thermal-sensor-cells"
4645

4746
examples:
4847
- |

Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ required:
3434
- compatible
3535
- reg
3636
- clocks
37-
- '#thermal-sensor-cells'
3837

3938
examples:
4039
- |

Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ properties:
2828

2929
required:
3030
- compatible
31-
- '#thermal-sensor-cells'
3231

3332
additionalProperties: false
3433

Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ required:
3838
- compatible
3939
- reg
4040
- interrupts
41-
- '#thermal-sensor-cells'
4241

4342
if:
4443
properties:

Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ required:
9999
- resets
100100
- nvmem-cells
101101
- nvmem-cell-names
102-
- "#thermal-sensor-cells"
103102

104103
additionalProperties: false
105104

Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ required:
197197
- clock-names
198198
- resets
199199
- reset-names
200-
- "#thermal-sensor-cells"
201200

202201
allOf:
203202
- $ref: thermal-sensor.yaml

Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ properties:
4848
"#thermal-sensor-cells":
4949
const: 1
5050

51-
assigned-clock-parents: true
52-
assigned-clock-rates: true
53-
assigned-clocks: true
54-
5551
required:
5652
- compatible
5753
- reg

Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ required:
4242
- compatible
4343
- reg
4444
- interrupts
45-
- '#thermal-sensor-cells'
4645

4746
additionalProperties: false
4847

0 commit comments

Comments
 (0)