From a39a3fbe312619fe2ccef0b17e5f53dff011fb1a Mon Sep 17 00:00:00 2001 From: "Rob Herring (Arm)" Date: Tue, 27 May 2025 15:21:09 -0500 Subject: [PATCH] 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) --- Documentation/devicetree/bindings/arm/cpus.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index c23c90745ad89..2e9ab95830050 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -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 -- 2.50.1