devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SDM660 cDSP support
@ 2025-10-18 10:57 Nickolay Goppen
  2025-10-18 10:57 ` [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
  2025-10-18 10:57 ` [PATCH 2/2] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
  0 siblings, 2 replies; 5+ messages in thread
From: Nickolay Goppen @ 2025-10-18 10:57 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Nickolay Goppen

This series adds an ability to load and boot the cDSP remoteproc
found in the SDM660 SoC

Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
Nickolay Goppen (2):
      dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
      remoteproc: qcom: pas: Add support for SDM660 CDSP

 Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 ++
 drivers/remoteproc/qcom_q6v5_pas.c                          | 1 +
 2 files changed, 3 insertions(+)
---
base-commit: 93f3bab4310d4ff73027cc4f87174284d4977acf
change-id: 20251018-qcom-sdm660-cdsp-59ad56867a18

Best regards,
-- 
Nickolay Goppen <setotau@mainlining.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
  2025-10-18 10:57 [PATCH 0/2] Add SDM660 cDSP support Nickolay Goppen
@ 2025-10-18 10:57 ` Nickolay Goppen
  2025-10-18 15:42   ` Krzysztof Kozlowski
  2025-10-18 10:57 ` [PATCH 2/2] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
  1 sibling, 1 reply; 5+ messages in thread
From: Nickolay Goppen @ 2025-10-18 10:57 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Nickolay Goppen

Add compatible for the compute DSP remoteproc found in SDM660.

Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
 Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
index 661c2b425da3..19d16c97d8a4 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
@@ -24,6 +24,7 @@ properties:
       - qcom,msm8998-adsp-pas
       - qcom,msm8998-slpi-pas
       - qcom,sdm660-adsp-pas
+      - qcom,sdm660-cdsp-pas
       - qcom,sdm845-adsp-pas
       - qcom,sdm845-cdsp-pas
       - qcom,sdm845-slpi-pas
@@ -178,6 +179,7 @@ allOf:
               - qcom,msm8998-adsp-pas
               - qcom,msm8998-slpi-pas
               - qcom,sdm660-adsp-pas
+              - qcom,sdm660-cdsp-pas
     then:
       properties:
         qcom,qmp: false

-- 
2.51.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] remoteproc: qcom: pas: Add support for SDM660 CDSP
  2025-10-18 10:57 [PATCH 0/2] Add SDM660 cDSP support Nickolay Goppen
  2025-10-18 10:57 ` [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
@ 2025-10-18 10:57 ` Nickolay Goppen
  1 sibling, 0 replies; 5+ messages in thread
From: Nickolay Goppen @ 2025-10-18 10:57 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Nickolay Goppen

Compute DSP in SDM660 is compatible with generic cdsp_resource_init
descriptor.

Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
 drivers/remoteproc/qcom_q6v5_pas.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index 158bcd6cc85c..781eac6aa6bf 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1488,6 +1488,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
 	{ .compatible = "qcom,sc8280xp-nsp0-pas", .data = &sc8280xp_nsp0_resource},
 	{ .compatible = "qcom,sc8280xp-nsp1-pas", .data = &sc8280xp_nsp1_resource},
 	{ .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init},
+	{ .compatible = "qcom,sdm660-cdsp-pas", .data = &cdsp_resource_init},
 	{ .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init},
 	{ .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init},
 	{ .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init},

-- 
2.51.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
  2025-10-18 10:57 ` [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
@ 2025-10-18 15:42   ` Krzysztof Kozlowski
  2025-10-18 17:18     ` Nickolay Goppen
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-18 15:42 UTC (permalink / raw)
  To: Nickolay Goppen, Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel

On 18/10/2025 12:57, Nickolay Goppen wrote:
> Add compatible for the compute DSP remoteproc found in SDM660.
> 
> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
> ---
>  Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
> index 661c2b425da3..19d16c97d8a4 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
> @@ -24,6 +24,7 @@ properties:
>        - qcom,msm8998-adsp-pas
>        - qcom,msm8998-slpi-pas
>        - qcom,sdm660-adsp-pas
> +      - qcom,sdm660-cdsp-pas
>        - qcom,sdm845-adsp-pas
>        - qcom,sdm845-cdsp-pas
>        - qcom,sdm845-slpi-pas
> @@ -178,6 +179,7 @@ allOf:
>                - qcom,msm8998-adsp-pas
>                - qcom,msm8998-slpi-pas
>                - qcom,sdm660-adsp-pas

Where is the constrain for everything else? clocks, interrupts and domains?

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
  2025-10-18 15:42   ` Krzysztof Kozlowski
@ 2025-10-18 17:18     ` Nickolay Goppen
  0 siblings, 0 replies; 5+ messages in thread
From: Nickolay Goppen @ 2025-10-18 17:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel


18.10.2025 18:42, Krzysztof Kozlowski пишет:
> On 18/10/2025 12:57, Nickolay Goppen wrote:
>> Add compatible for the compute DSP remoteproc found in SDM660.
>>
>> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
>> ---
>>   Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
>> index 661c2b425da3..19d16c97d8a4 100644
>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
>> @@ -24,6 +24,7 @@ properties:
>>         - qcom,msm8998-adsp-pas
>>         - qcom,msm8998-slpi-pas
>>         - qcom,sdm660-adsp-pas
>> +      - qcom,sdm660-cdsp-pas
>>         - qcom,sdm845-adsp-pas
>>         - qcom,sdm845-cdsp-pas
>>         - qcom,sdm845-slpi-pas
>> @@ -178,6 +179,7 @@ allOf:
>>                 - qcom,msm8998-adsp-pas
>>                 - qcom,msm8998-slpi-pas
>>                 - qcom,sdm660-adsp-pas
> Where is the constrain for everything else? clocks, interrupts and domains?
I think that cDSP and aDSP compatible should be both added to the "xo" 
clock, interrupts and "cx" power-domain constrains, but I'm not sure 
about that.
> Best regards,
> Krzysztof

-- 
Best regards,
Nickolay


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-18 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-18 10:57 [PATCH 0/2] Add SDM660 cDSP support Nickolay Goppen
2025-10-18 10:57 ` [PATCH 1/2] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
2025-10-18 15:42   ` Krzysztof Kozlowski
2025-10-18 17:18     ` Nickolay Goppen
2025-10-18 10:57 ` [PATCH 2/2] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).