Skip to content

Commit a39a3fb

Browse files
committed
dt-bindings: arm/cpus: Allow 2 power-domains entries
Some platforms have both "perf" and "psci" power domains, so allow 2 entries. Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 577ce77 commit a39a3fb

File tree

1 file changed

+6
-2
lines changed
  • Documentation/devicetree/bindings/arm

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,19 @@ properties:
313313
maxItems: 1
314314

315315
power-domains:
316-
maxItems: 1
316+
minItems: 1
317+
maxItems: 2
317318

318319
power-domain-names:
319320
description:
320321
For PSCI based platforms, the name corresponding to the index of the PSCI
321322
PM domain provider, must be "psci". For SCMI based platforms, the name
322323
corresponding to the index of an SCMI performance domain provider, must be
323324
"perf".
324-
enum: [ psci, perf, cpr ]
325+
minItems: 1
326+
maxItems: 2
327+
items:
328+
enum: [ psci, perf, cpr ]
325329

326330
resets:
327331
maxItems: 1

0 commit comments

Comments
 (0)