dt-bindings: arm/cpus: Allow 2 power-domains entries
authorRob Herring (Arm) <robh@kernel.org>
Tue, 27 May 2025 20:21:09 +0000 (15:21 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 27 May 2025 20:34:38 +0000 (15:34 -0500)
Some platforms have both "perf" and "psci" power domains, so allow 2
entries.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/arm/cpus.yaml

index c23c90745ad894f3a8cc449c89e3bd86f22e9b65..2e9ab95830050053d700a8b0f56be2078a115502 100644 (file)
@@ -313,7 +313,8 @@ properties:
     maxItems: 1
 
   power-domains:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
 
   power-domain-names:
     description:
@@ -321,7 +322,10 @@ properties:
       PM domain provider, must be "psci". For SCMI based platforms, the name
       corresponding to the index of an SCMI performance domain provider, must be
       "perf".
-    enum: [ psci, perf, cpr ]
+    minItems: 1
+    maxItems: 2
+    items:
+      enum: [ psci, perf, cpr ]
 
   resets:
     maxItems: 1