Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add SDM660 cDSP support
@ 2025-10-19 14:20 Nickolay Goppen
  2025-10-19 14:20 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP Nickolay Goppen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Nickolay Goppen @ 2025-10-19 14:20 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,
	~postmarketos/upstreaming, linux, 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>
---
Changes in v2:
- Added missing constrains for both aDSP and cDSP.
- Link to v1: https://lore.kernel.org/r/20251018-qcom-sdm660-cdsp-v1-0-042e283db29b@mainlining.org

---
Nickolay Goppen (3):
      dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP
      dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
      remoteproc: qcom: pas: Add support for SDM660 CDSP

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

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


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

* [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP
  2025-10-19 14:20 [PATCH v2 0/3] Add SDM660 cDSP support Nickolay Goppen
@ 2025-10-19 14:20 ` Nickolay Goppen
  2025-10-19 16:50   ` Krzysztof Kozlowski
  2025-10-19 14:20 ` [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
  2025-10-19 14:20 ` [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
  2 siblings, 1 reply; 9+ messages in thread
From: Nickolay Goppen @ 2025-10-19 14:20 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,
	~postmarketos/upstreaming, linux, Nickolay Goppen

Since SDM660 ADSP node uses "xo" clock, interrupts and "cx" power domain
properties add corresponding constrains for SDM660 ADSP.

Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
 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 661c2b425da3..c48561aae3a6 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
@@ -69,6 +69,7 @@ allOf:
               - qcom,msm8996-slpi-pil
               - qcom,msm8998-adsp-pas
               - qcom,msm8998-slpi-pas
+              - qcom,sdm660-adsp-pas
               - qcom,sdm845-adsp-pas
               - qcom,sdm845-cdsp-pas
               - qcom,sdm845-slpi-pas
@@ -93,6 +94,7 @@ allOf:
               - qcom,msm8996-slpi-pil
               - qcom,msm8998-adsp-pas
               - qcom,msm8998-slpi-pas
+              - qcom,sdm660-adsp-pas
               - qcom,sdm845-adsp-pas
               - qcom,sdm845-cdsp-pas
               - qcom,sdm845-slpi-pas
@@ -122,6 +124,7 @@ allOf:
               - qcom,msm8953-adsp-pil
               - qcom,msm8996-adsp-pil
               - qcom,msm8998-adsp-pas
+              - qcom,sdm660-adsp-pas
     then:
       properties:
         power-domains:

-- 
2.51.1


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

* [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
  2025-10-19 14:20 [PATCH v2 0/3] Add SDM660 cDSP support Nickolay Goppen
  2025-10-19 14:20 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP Nickolay Goppen
@ 2025-10-19 14:20 ` Nickolay Goppen
  2025-10-19 16:50   ` Krzysztof Kozlowski
  2025-10-19 14:20 ` [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
  2 siblings, 1 reply; 9+ messages in thread
From: Nickolay Goppen @ 2025-10-19 14:20 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,
	~postmarketos/upstreaming, linux, 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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
index c48561aae3a6..88da57ce7132 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
@@ -70,6 +71,7 @@ allOf:
               - 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
@@ -95,6 +97,7 @@ allOf:
               - 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
@@ -125,6 +128,7 @@ allOf:
               - qcom,msm8996-adsp-pil
               - qcom,msm8998-adsp-pas
               - qcom,sdm660-adsp-pas
+              - qcom,sdm660-cdsp-pas
     then:
       properties:
         power-domains:
@@ -181,6 +185,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] 9+ messages in thread

* [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP
  2025-10-19 14:20 [PATCH v2 0/3] Add SDM660 cDSP support Nickolay Goppen
  2025-10-19 14:20 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP Nickolay Goppen
  2025-10-19 14:20 ` [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
@ 2025-10-19 14:20 ` Nickolay Goppen
  2025-10-19 15:37   ` Dmitry Baryshkov
  2 siblings, 1 reply; 9+ messages in thread
From: Nickolay Goppen @ 2025-10-19 14:20 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,
	~postmarketos/upstreaming, linux, 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] 9+ messages in thread

* Re: [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP
  2025-10-19 14:20 ` [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
@ 2025-10-19 15:37   ` Dmitry Baryshkov
  2025-10-19 15:38     ` Nickolay Goppen
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2025-10-19 15:37 UTC (permalink / raw)
  To: Nickolay Goppen
  Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
	linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	~postmarketos/upstreaming, linux

On Sun, Oct 19, 2025 at 05:20:21PM +0300, Nickolay Goppen wrote:
> 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(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # ifc6560

Please send DT patches too.

-- 
With best wishes
Dmitry

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

* Re: [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP
  2025-10-19 15:37   ` Dmitry Baryshkov
@ 2025-10-19 15:38     ` Nickolay Goppen
  2025-10-19 16:00       ` Dmitry Baryshkov
  0 siblings, 1 reply; 9+ messages in thread
From: Nickolay Goppen @ 2025-10-19 15:38 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
	linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	~postmarketos/upstreaming, linux


19.10.2025 18:37, Dmitry Baryshkov пишет:
> On Sun, Oct 19, 2025 at 05:20:21PM +0300, Nickolay Goppen wrote:
>> 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(+)
>>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # ifc6560
>
> Please send DT patches too.
I can send them separately

-- 
Best regards,
Nickolay


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

* Re: [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP
  2025-10-19 15:38     ` Nickolay Goppen
@ 2025-10-19 16:00       ` Dmitry Baryshkov
  0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2025-10-19 16:00 UTC (permalink / raw)
  To: Nickolay Goppen
  Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
	linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	~postmarketos/upstreaming, linux

On Sun, Oct 19, 2025 at 06:38:01PM +0300, Nickolay Goppen wrote:
> 
> 19.10.2025 18:37, Dmitry Baryshkov пишет:
> > On Sun, Oct 19, 2025 at 05:20:21PM +0300, Nickolay Goppen wrote:
> > > 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(+)
> > > 
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > 
> > Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # ifc6560
> > 
> > Please send DT patches too.
> I can send them separately

Yes, please

-- 
With best wishes
Dmitry

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

* Re: [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP
  2025-10-19 14:20 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP Nickolay Goppen
@ 2025-10-19 16:50   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-19 16:50 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,
	~postmarketos/upstreaming, linux

On 19/10/2025 16:20, Nickolay Goppen wrote:
> Since SDM660 ADSP node uses "xo" clock, interrupts and "cx" power domain
> properties add corresponding constrains for SDM660 ADSP.
> 
> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

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

* Re: [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible
  2025-10-19 14:20 ` [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
@ 2025-10-19 16:50   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-19 16:50 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,
	~postmarketos/upstreaming, linux

On 19/10/2025 16:20, Nickolay Goppen wrote:
> Add compatible for the compute DSP remoteproc found in SDM660.
> 
> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

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

end of thread, other threads:[~2025-10-19 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-19 14:20 [PATCH v2 0/3] Add SDM660 cDSP support Nickolay Goppen
2025-10-19 14:20 ` [PATCH v2 1/3] dt-bindings: remoteproc: qcom: adsp: Add missing constrains for SDM660 ADSP Nickolay Goppen
2025-10-19 16:50   ` Krzysztof Kozlowski
2025-10-19 14:20 ` [PATCH v2 2/3] dt-bindings: remoteproc: qcom: adsp: Add SDM660 CDSP compatible Nickolay Goppen
2025-10-19 16:50   ` Krzysztof Kozlowski
2025-10-19 14:20 ` [PATCH v2 3/3] remoteproc: qcom: pas: Add support for SDM660 CDSP Nickolay Goppen
2025-10-19 15:37   ` Dmitry Baryshkov
2025-10-19 15:38     ` Nickolay Goppen
2025-10-19 16:00       ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox