Message ID | 20230325132117.19733-2-me@dylanvanassche.be |
---|---|
State | New |
Headers | show |
Series | Qualcomm SDM845 SLPI DSP driver support | expand |
On 25/03/2023 14:21, Dylan Van Assche wrote: > SLPI DSP remoteproc on DSP is defined by the 'qcom,sdm845-slpi-pas' > compatible in the qcom_q6v5_pas driver. Add this compatible to the > devicetree bindings. > > Signed-off-by: Dylan Van Assche <me@dylanvanassche.be> > --- > Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > index 643ee787a81f..175be01ecd1c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > @@ -26,6 +26,7 @@ properties: > - qcom,sdm660-adsp-pas > - qcom,sdm845-adsp-pas > - qcom,sdm845-cdsp-pas > + - qcom,sdm845-slpi-pas > > reg: > maxItems: 1 > @@ -63,6 +64,7 @@ allOf: > - qcom,msm8998-adsp-pas > - qcom,sdm845-adsp-pas > - qcom,sdm845-cdsp-pas > + - qcom,sdm845-slpi-pas > then: > properties: > clocks: > @@ -104,6 +106,7 @@ allOf: You miss also if:then: for power-domains. Best regards, Krzysztof
Hi Krzysztof, On Sun, 2023-03-26 at 10:53 +0200, Krzysztof Kozlowski wrote: > On 25/03/2023 14:21, Dylan Van Assche wrote: > > SLPI DSP remoteproc on DSP is defined by the 'qcom,sdm845-slpi-pas' > > compatible in the qcom_q6v5_pas driver. Add this compatible to the > > devicetree bindings. > > > > Signed-off-by: Dylan Van Assche <me@dylanvanassche.be> > > --- > > Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 > > +++ > > 1 file changed, 3 insertions(+) > > > > diff --git > > a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > > b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > > index 643ee787a81f..175be01ecd1c 100644 > > --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > > @@ -26,6 +26,7 @@ properties: > > - qcom,sdm660-adsp-pas > > - qcom,sdm845-adsp-pas > > - qcom,sdm845-cdsp-pas > > + - qcom,sdm845-slpi-pas > > > > reg: > > maxItems: 1 > > @@ -63,6 +64,7 @@ allOf: > > - qcom,msm8998-adsp-pas > > - qcom,sdm845-adsp-pas > > - qcom,sdm845-cdsp-pas > > + - qcom,sdm845-slpi-pas > > then: > > properties: > > clocks: > > @@ -104,6 +106,7 @@ allOf: > > > You miss also if:then: for power-domains. I am not sure what to put for the power-domains, newer remoteprocs from SM8150/SM8250/SM8350 etc. are not in this binding either. Could you elaborate a bit here? Thanks! Kind regards, Dylan Van Assche > > Best regards, > Krzysztof >
On 27/03/2023 13:39, Dylan Van Assche wrote: > Hi Krzysztof, > > On Sun, 2023-03-26 at 10:53 +0200, Krzysztof Kozlowski wrote: >> On 25/03/2023 14:21, Dylan Van Assche wrote: >>> SLPI DSP remoteproc on DSP is defined by the 'qcom,sdm845-slpi-pas' >>> compatible in the qcom_q6v5_pas driver. Add this compatible to the >>> devicetree bindings. >>> >>> Signed-off-by: Dylan Van Assche <me@dylanvanassche.be> >>> --- >>> Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 >>> +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >>> b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >>> index 643ee787a81f..175be01ecd1c 100644 >>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >>> @@ -26,6 +26,7 @@ properties: >>> - qcom,sdm660-adsp-pas >>> - qcom,sdm845-adsp-pas >>> - qcom,sdm845-cdsp-pas >>> + - qcom,sdm845-slpi-pas >>> >>> reg: >>> maxItems: 1 >>> @@ -63,6 +64,7 @@ allOf: >>> - qcom,msm8998-adsp-pas >>> - qcom,sdm845-adsp-pas >>> - qcom,sdm845-cdsp-pas >>> + - qcom,sdm845-slpi-pas >>> then: >>> properties: >>> clocks: >>> @@ -104,6 +106,7 @@ allOf: >> >> >> You miss also if:then: for power-domains. > > I am not sure what to put for the power-domains, Doesn't your driver patch clearly state it? > newer remoteprocs from > SM8150/SM8250/SM8350 etc. are not in this binding either. They have their own binding, but why is it an argument to add sdm845-slpi a bit incomplete? > > Could you elaborate a bit here? Thanks! There are already examples of other remoteprocs which do it, so I do not understand why this one is different. What to elaborate more? Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 643ee787a81f..175be01ecd1c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -26,6 +26,7 @@ properties: - qcom,sdm660-adsp-pas - qcom,sdm845-adsp-pas - qcom,sdm845-cdsp-pas + - qcom,sdm845-slpi-pas reg: maxItems: 1 @@ -63,6 +64,7 @@ allOf: - qcom,msm8998-adsp-pas - qcom,sdm845-adsp-pas - qcom,sdm845-cdsp-pas + - qcom,sdm845-slpi-pas then: properties: clocks: @@ -104,6 +106,7 @@ allOf: - qcom,msm8998-slpi-pas - qcom,sdm845-adsp-pas - qcom,sdm845-cdsp-pas + - qcom,sdm845-slpi-pas then: properties: interrupts:
SLPI DSP remoteproc on DSP is defined by the 'qcom,sdm845-slpi-pas' compatible in the qcom_q6v5_pas driver. Add this compatible to the devicetree bindings. Signed-off-by: Dylan Van Assche <me@dylanvanassche.be> --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 +++ 1 file changed, 3 insertions(+)