Message ID | 20240911-qcs8300_remoteproc_binding-v2-1-01921b110532@quicinc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2] dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc | expand |
On 11/09/2024 08:41, Jingyi Wang wrote: > + - items: > + - enum: > + - qcom,qcs8300-adsp-pas > + - const: qcom,sa8775p-adsp-pas > + - items: > + - enum: > + - qcom,qcs8300-cdsp-pas > + - const: qcom,sa8775p-cdsp0-pas > + - items: > + - enum: > + - qcom,qcs8300-gpdsp-pas > + - const: qcom,sa8775p-gpdsp0-pas > + - enum: > + - qcom,sa8775p-adsp-pas > + - qcom,sa8775p-cdsp0-pas > + - qcom,sa8775p-cdsp1-pas > + - qcom,sa8775p-gpdsp0-pas > + - qcom,sa8775p-gpdsp1-pas > > reg: > maxItems: 1 > @@ -64,6 +77,7 @@ allOf: > properties: > compatible: Instead add here "contains:" and no need for mentioning compatible second time. Same in other places. Best regards, Krzysztof > enum: > + - qcom,qcs8300-adsp-pas > - qcom,sa8775p-adsp-pas Best regards, Krzysztof
On 9/16/2024 10:57 PM, Krzysztof Kozlowski wrote: > On 11/09/2024 08:41, Jingyi Wang wrote: >> + - items: >> + - enum: >> + - qcom,qcs8300-adsp-pas >> + - const: qcom,sa8775p-adsp-pas >> + - items: >> + - enum: >> + - qcom,qcs8300-cdsp-pas >> + - const: qcom,sa8775p-cdsp0-pas >> + - items: >> + - enum: >> + - qcom,qcs8300-gpdsp-pas >> + - const: qcom,sa8775p-gpdsp0-pas >> + - enum: >> + - qcom,sa8775p-adsp-pas >> + - qcom,sa8775p-cdsp0-pas >> + - qcom,sa8775p-cdsp1-pas >> + - qcom,sa8775p-gpdsp0-pas >> + - qcom,sa8775p-gpdsp1-pas >> >> reg: >> maxItems: 1 >> @@ -64,6 +77,7 @@ allOf: >> properties: >> compatible: > > Instead add here "contains:" and no need for mentioning compatible > second time. Same in other places. > > Best regards, > Krzysztof > Well noted. >> enum: >> + - qcom,qcs8300-adsp-pas >> - qcom,sa8775p-adsp-pas > > > > Best regards, > Krzysztof > Thanks, Jingyi
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml index 7fe401a06805..44b5ed5b1c92 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml @@ -15,12 +15,25 @@ description: properties: compatible: - enum: - - qcom,sa8775p-adsp-pas - - qcom,sa8775p-cdsp0-pas - - qcom,sa8775p-cdsp1-pas - - qcom,sa8775p-gpdsp0-pas - - qcom,sa8775p-gpdsp1-pas + oneOf: + - items: + - enum: + - qcom,qcs8300-adsp-pas + - const: qcom,sa8775p-adsp-pas + - items: + - enum: + - qcom,qcs8300-cdsp-pas + - const: qcom,sa8775p-cdsp0-pas + - items: + - enum: + - qcom,qcs8300-gpdsp-pas + - const: qcom,sa8775p-gpdsp0-pas + - enum: + - qcom,sa8775p-adsp-pas + - qcom,sa8775p-cdsp0-pas + - qcom,sa8775p-cdsp1-pas + - qcom,sa8775p-gpdsp0-pas + - qcom,sa8775p-gpdsp1-pas reg: maxItems: 1 @@ -64,6 +77,7 @@ allOf: properties: compatible: enum: + - qcom,qcs8300-adsp-pas - qcom,sa8775p-adsp-pas then: properties: @@ -80,6 +94,7 @@ allOf: properties: compatible: enum: + - qcom,qcs8300-cdsp-pas - qcom,sa8775p-cdsp0-pas - qcom,sa8775p-cdsp1-pas then: @@ -99,6 +114,7 @@ allOf: properties: compatible: enum: + - qcom,qcs8300-gpdsp-pas - qcom,sa8775p-gpdsp0-pas - qcom,sa8775p-gpdsp1-pas then: