]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: thermal: simplify few bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 5 Jul 2024 09:51:40 +0000 (11:51 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 15 Jul 2024 11:31:40 +0000 (13:31 +0200)
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>
Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml
Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml
Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml
Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml

index 267a0f4235041947ad540831548db63205223d21..32730211e15b3f16a76483eb68fc0262a735e765 100644 (file)
@@ -42,7 +42,6 @@ additionalProperties: false
 required:
   - compatible
   - reg
-  - "#thermal-sensor-cells"
 
 examples:
   - |
index 2b6026d9fbcf7fcc34df17bfd4a535235e579470..ddf0f20e5285e453f6cd04b4943d6ac924d92004 100644 (file)
@@ -34,7 +34,6 @@ required:
   - compatible
   - reg
   - clocks
-  - '#thermal-sensor-cells'
 
 examples:
   - |
index e02d04d4f71ef998cf180b0a8fb81e23886ee489..ceef318668bfbb61445a3efff47333fd36810538 100644 (file)
@@ -28,7 +28,6 @@ properties:
 
 required:
   - compatible
-  - '#thermal-sensor-cells'
 
 additionalProperties: false
 
index ca81c8afba79c673aea6dba21e21deb0adbe43d1..79e691b08341c342fa4badcea516e6f5c73435a7 100644 (file)
@@ -38,7 +38,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - '#thermal-sensor-cells'
 
 if:
   properties:
index 331cf4e662e3094b9122f4cbbb27d55e1c493079..0259cd3ce9c55fdd7e734108cf7fea1763beb419 100644 (file)
@@ -99,7 +99,6 @@ required:
   - resets
   - nvmem-cells
   - nvmem-cell-names
-  - "#thermal-sensor-cells"
 
 additionalProperties: false
 
index b0237d2360216ef748d37d1e22752be9b60b2794..19bb1f324183bb22bc75630798da67fc834920b8 100644 (file)
@@ -197,7 +197,6 @@ required:
   - clock-names
   - resets
   - reset-names
-  - "#thermal-sensor-cells"
 
 allOf:
   - $ref: thermal-sensor.yaml
index 972d608ddf95713967c34c4802c9dc415ae34bcb..63a29a1f7fe6c3d45baa920994082e60d7507ff5 100644 (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
index 5f08b6e59b8a5c9c29295f78789f1d8c0de79449..30b22151aa82239906bf3d57203628fc1f3394e9 100644 (file)
@@ -42,7 +42,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - '#thermal-sensor-cells'
 
 additionalProperties: false