summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 21:00:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 21:00:30 +0000
commite54def4ad8144ab15f826416e2e0f290ef1901b4 (patch)
tree583f8d4bd95cd67c44ff37b878a7eddfca9ab97a /Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
parentAdding upstream version 6.8.12. (diff)
downloadlinux-e54def4ad8144ab15f826416e2e0f290ef1901b4.tar.xz
linux-e54def4ad8144ab15f826416e2e0f290ef1901b4.zip
Adding upstream version 6.9.2.upstream/6.9.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml')
-rw-r--r--Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml24
1 files changed, 2 insertions, 22 deletions
diff --git a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
index ca81c8afb..b634f57cd 100644
--- a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
@@ -18,15 +18,13 @@ properties:
oneOf:
- enum:
- loongson,ls2k1000-thermal
- - loongson,ls2k2000-thermal
- items:
- enum:
- - loongson,ls2k0500-thermal
+ - loongson,ls2k2000-thermal
- const: loongson,ls2k1000-thermal
reg:
- minItems: 1
- maxItems: 2
+ maxItems: 1
interrupts:
maxItems: 1
@@ -40,24 +38,6 @@ required:
- interrupts
- '#thermal-sensor-cells'
-if:
- properties:
- compatible:
- contains:
- enum:
- - loongson,ls2k2000-thermal
-
-then:
- properties:
- reg:
- minItems: 2
- maxItems: 2
-
-else:
- properties:
- reg:
- maxItems: 1
-
unevaluatedProperties: false
examples: