summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
diff options
context:
space:
mode:
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: