Message ID | 20230905-sc7180-adsp-rproc-v1-1-dfea7699da7b@trvn.ru (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | sc7180: Add ADSP | expand |
On 05/09/2023 07:47, Nikita Travkin wrote: > SC7180 has an ADSP remoteproc. Add it's compatible to the bindings. > > Signed-off-by: Nikita Travkin <nikita@trvn.ru> > --- > .../devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 12 ++++++++++++ > 1 file changed, 12 > > @@ -88,6 +89,17 @@ allOf: > maxItems: 2 > power-domain-names: > maxItems: 2 Blank line > + - if: > + properties: > + compatible: > + enum: > + - qcom,sc7180-adsp-pas > + then: > + properties: > + interrupts: > + minItems: 5 This is supposed to be maxItems > + interrupt-names: > + minItems: 5 Ditto > > unevaluatedProperties: false > > Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml index 689d5d535331..37eeb51b849e 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml @@ -16,6 +16,7 @@ description: properties: compatible: enum: + - qcom,sc7180-adsp-pas - qcom,sc7180-mpss-pas - qcom,sc7280-mpss-pas @@ -88,6 +89,17 @@ allOf: maxItems: 2 power-domain-names: maxItems: 2 + - if: + properties: + compatible: + enum: + - qcom,sc7180-adsp-pas + then: + properties: + interrupts: + minItems: 5 + interrupt-names: + minItems: 5 unevaluatedProperties: false
SC7180 has an ADSP remoteproc. Add it's compatible to the bindings. Signed-off-by: Nikita Travkin <nikita@trvn.ru> --- .../devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+)