Document compatible string for the CDSP Peripheral Authentication Service on the Eliza SoC. It needs a third memory region (DSM) and the NSP power domain. Rework the schema to accommodate these.
Signed-off-by: Abel Vesa <[email protected]> --- .../bindings/remoteproc/qcom,milos-pas.yaml | 41 +++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml index 99d7337e58ec..3ee7be3304c6 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml @@ -17,6 +17,7 @@ properties: compatible: enum: - qcom,eliza-adsp-pas + - qcom,eliza-cdsp-pas - qcom,milos-adsp-pas - qcom,milos-cdsp-pas - qcom,milos-mpss-pas @@ -68,6 +69,7 @@ properties: items: - description: Memory region for core Firmware authentication - description: Memory region for Devicetree Firmware authentication + - description: DSM Memory region qcom,smem-states: maxItems: 1 @@ -97,7 +99,26 @@ allOf: minItems: 2 firmware-name: minItems: 2 - else: + + - if: + properties: + compatible: + enum: + - qcom,eliza-cdsp-pas + then: + properties: + memory-region: + minItems: 3 + firmware-name: + minItems: 2 + + - if: + properties: + compatible: + enum: + - qcom,milos-mpss-pas + - qcom,milos-wpss-pas + then: properties: memory-region: maxItems: 1 @@ -122,6 +143,24 @@ allOf: - const: lcx - const: lmx + - if: + properties: + compatible: + enum: + - qcom,eliza-cdsp-pas + then: + properties: + power-domains: + items: + - description: CX power domain + - description: MX power domain + - description: NSP power domain + power-domain-names: + items: + - const: cx + - const: mx + - const: nsp + - if: properties: compatible: -- 2.54.0

