From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>
Cc: "Bjorn Andersson" <andersson@kernel.org>,
"Mathieu Poirier" <mathieu.poirier@linaro.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
<~postmarketos/upstreaming@lists.sr.ht>,
<phone-devel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>,
<linux-remoteproc@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/3] dt-bindings: remoteproc: qcom,sm8550-pas: document SM7635 ADSP & CDSP
Date: Tue, 01 Jul 2025 12:16:25 +0200 [thread overview]
Message-ID: <DB0N2N5JIUNS.3UFD0C81VYS9F@fairphone.com> (raw)
In-Reply-To: <20250701-pretty-vivacious-panther-540ff4@krzk-bin>
Hi Krzysztof,
On Tue Jul 1, 2025 at 10:14 AM CEST, Krzysztof Kozlowski wrote:
> On Fri, Jun 27, 2025 at 08:55:43AM +0200, Luca Weiss wrote:
>> Document the ADSP & CDSP remoteprocs on the SM7635 Platform.
>>
>> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
>> ---
>> .../bindings/remoteproc/qcom,sm8550-pas.yaml | 37 ++++++++++++++++++++++
>> 1 file changed, 37 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
>> index 2dd479cf48217a0799ab4e4318026d8b93c3c995..44cc329be5067ab6cbaa0a467669cb3f55c7e714 100644
>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
>> @@ -18,6 +18,8 @@ properties:
>> oneOf:
>> - enum:
>> - qcom,sdx75-mpss-pas
>> + - qcom,sm7635-adsp-pas
>> + - qcom,sm7635-cdsp-pas
>
> I don't understand why this is here and mpss and wpss are in other file.
> It is supposed to be in one binding file, especiall that:
Is that the idea? (see my reply to my sm8350-pas patch)
>
>> - qcom,sm8550-adsp-pas
>> - qcom,sm8550-cdsp-pas
>> - qcom,sm8550-mpss-pas
>> @@ -165,6 +167,24 @@ allOf:
>> minItems: 5
>> maxItems: 5
>>
>> + - if:
>> + properties:
>> + compatible:
>> + enum:
>> + - qcom,sm7635-adsp-pas
>> + - qcom,sm7635-cdsp-pas
>
> it does not fit existing cases!
>
>> + then:
>> + properties:
>> + interrupts:
>> + minItems: 6
>> + maxItems: 6
>> + interrupt-names:
>> + minItems: 6
>> + maxItems: 6
>> + memory-region:
>> + minItems: 2
>> + maxItems: 2
>> +
>> - if:
>> properties:
>> compatible:
>> @@ -185,6 +205,7 @@ allOf:
>> compatible:
>> contains:
>> enum:
>> + - qcom,sm7635-adsp-pas
>> - qcom,sm8550-adsp-pas
>> - qcom,sm8650-adsp-pas
>> - qcom,sm8750-adsp-pas
>
> sm6350 fits, doesn't it?
Not quite, for sure the firmware-name and memory-region for adsp and
cdsp on this SoC requires the dtb firmware file as well, apart from that
it looks similar enough.
I'm also okay with creating a new (after the whole renaming thing)
qcom,milos-pas.yaml which contains the bindings for all 4 *-pas'es.
Let me know what you want to see in the next version.
Regards
Luca
>
>> @@ -239,6 +260,22 @@ allOf:
>> - const: mxc
>> - const: nsp
>>
>> + - if:
>> + properties:
>> + compatible:
>> + enum:
>> + - qcom,sm7635-cdsp-pas
>> + then:
>> + properties:
>> + power-domains:
>> + items:
>> + - description: CX power domain
>> + - description: MX power domain
>> + power-domain-names:
>> + items:
>> + - const: cx
>> + - const: mx
>
> And again this is like sm6350 :/
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2025-07-01 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 6:55 [PATCH v2 0/3] Add support for remoteprocs on SM7635 Luca Weiss
2025-06-27 6:55 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom,sm8350-pas: document SM7635 MPSS & WPSS Luca Weiss
2025-07-01 8:12 ` Krzysztof Kozlowski
2025-07-01 10:12 ` Luca Weiss
2025-07-02 20:32 ` Krzysztof Kozlowski
2025-06-27 6:55 ` [PATCH v2 2/3] dt-bindings: remoteproc: qcom,sm8550-pas: document SM7635 ADSP & CDSP Luca Weiss
2025-07-01 8:14 ` Krzysztof Kozlowski
2025-07-01 10:16 ` Luca Weiss [this message]
2025-07-02 20:33 ` Krzysztof Kozlowski
2025-06-27 6:55 ` [PATCH v2 3/3] remoteproc: qcom: pas: Add SM7635 remoteproc support Luca Weiss
2025-07-01 12:13 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB0N2N5JIUNS.3UFD0C81VYS9F@fairphone.com \
--to=luca.weiss@fairphone.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mani@kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®