Nord supplies the CDSP memory rail from a dedicated NMXC RPMh resource instead of the shared MX rail, so the CDSPs have to reference "nmxc" rather than "mx" as their second proxy power domain.
That makes the ADSP and CDSP name lists diverge at the second entry, so a single top-level 'items' list can no longer describe both. Keep only the item count at the top level and move the per-domain descriptions into the respective branches of the existing conditional. Signed-off-by: Shawn Guo <[email protected]> --- .../bindings/remoteproc/qcom,nord-pas.yaml | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml index e90d2953ba69..b09b51f26afe 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml @@ -24,17 +24,11 @@ properties: power-domains: minItems: 2 - items: - - description: CX power domain - - description: MX power domain - - description: NSP power domain + maxItems: 3 power-domain-names: minItems: 2 - items: - - const: cx - - const: mx - - const: nsp + maxItems: 3 reg: maxItems: 1 @@ -104,15 +98,25 @@ allOf: then: properties: power-domains: - maxItems: 2 + items: + - description: CX power domain + - description: MX power domain power-domain-names: - maxItems: 2 + items: + - const: cx + - const: mx else: properties: power-domains: - minItems: 3 + items: + - description: CX power domain + - description: NMXC power domain + - description: NSP power domain power-domain-names: - minItems: 3 + items: + - const: cx + - const: nmxc + - const: nsp unevaluatedProperties: false -- 2.43.0

