mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] remoteproc: qcom: pas: Add SM7250 ADSP
@ 2026-10-16  8:20 Ishu Brar via B4 Relay
  2026-10-16  8:20 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document " Ishu Brar via B4 Relay
  2026-10-16  8:20 ` [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support Ishu Brar via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Ishu Brar via B4 Relay @ 2026-10-16  8: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, Ishu Brar

Adding ADSP remoteproc for Qualcomm SM7250 (Snapdragon
765/765G/768G).

The SM7250 ADSP behaves like the SM6350 one: same PAS ID, same
interrupts, same LCX/LMX power domains, same SMEM crash reason item.
So no new resource struct is needed. Patch 1 documents the compatible in
the existing SM6350 PAS binding. Patch 2 adds it to the driver, using
the SM6350 ADSP resource.

I am bringing up mainline on a OnePlus Nord (SM7250, "avicii"). With
this series the ADSP boots on that phone and I can play audio through it
and read the sensors from it.

The SoC devicetree is not part of this series; it is being sent
separately.

Signed-off-by: Ishu Brar <patches@brar.si>
---
Ishu Brar (2):
      dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP
      remoteproc: qcom: pas: Add SM7250 ADSP support

 Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml | 3 +++
 drivers/remoteproc/qcom_q6v5_pas.c                                | 1 +
 2 files changed, 4 insertions(+)
---
base-commit: 23d0516587f896f5f16a47c97ddb41d28e6289ff
change-id: 20261015-adsp-sm7250-da58db1e47a6

Best regards,
--  
Ishu Brar <patches@brar.si>



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

* [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP
  2026-10-16  8:20 [PATCH 0/2] remoteproc: qcom: pas: Add SM7250 ADSP Ishu Brar via B4 Relay
@ 2026-10-16  8:20 ` Ishu Brar via B4 Relay
  2026-10-17 17:07   ` Krzysztof Kozlowski
  2026-10-16  8:20 ` [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support Ishu Brar via B4 Relay
  1 sibling, 1 reply; 5+ messages in thread
From: Ishu Brar via B4 Relay @ 2026-10-16  8: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, Ishu Brar

From: Ishu Brar <patches@brar.si>

Document the ADSP Peripheral Authentication Service on the Qualcomm
SM7250 SoC. It has the same interrupts and LCX/LMX power domains as the
SM6350 ADSP.

Signed-off-by: Ishu Brar <patches@brar.si>
---
 Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
index 42e02c643..74f2037f3 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
@@ -19,6 +19,7 @@ properties:
       - qcom,sm6350-adsp-pas
       - qcom,sm6350-cdsp-pas
       - qcom,sm6350-mpss-pas
+      - qcom,sm7250-adsp-pas
 
   reg:
     maxItems: 1
@@ -86,6 +87,7 @@ allOf:
           enum:
             - qcom,sm6350-adsp-pas
             - qcom,sm6350-cdsp-pas
+            - qcom,sm7250-adsp-pas
     then:
       properties:
         interrupts:
@@ -104,6 +106,7 @@ allOf:
         compatible:
           enum:
             - qcom,sm6350-adsp-pas
+            - qcom,sm7250-adsp-pas
     then:
       properties:
         power-domains:

-- 
2.56.0



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

* [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support
  2026-10-16  8:20 [PATCH 0/2] remoteproc: qcom: pas: Add SM7250 ADSP Ishu Brar via B4 Relay
  2026-10-16  8:20 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document " Ishu Brar via B4 Relay
@ 2026-10-16  8:20 ` Ishu Brar via B4 Relay
  2026-10-17 17:08   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 5+ messages in thread
From: Ishu Brar via B4 Relay @ 2026-10-16  8: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, Ishu Brar

From: Ishu Brar <patches@brar.si>

The SM7250 ADSP uses the same PAS ID, crash reason SMEM item, SSR/sysmon
names and proxy power domains as the SM6350 one, so reuse its resource.

Signed-off-by: Ishu Brar <patches@brar.si>
---
 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 2e1e39826..365f4fa5b 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -2046,6 +2046,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
 	{ .compatible = "qcom,sm6375-adsp-pas", .data = &sm6350_adsp_resource },
 	{ .compatible = "qcom,sm6375-cdsp-pas", .data = &sm8150_cdsp_resource },
 	{ .compatible = "qcom,sm6375-mpss-pas", .data = &sm6375_mpss_resource },
+	{ .compatible = "qcom,sm7250-adsp-pas", .data = &sm6350_adsp_resource },
 	{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource },
 	{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource },
 	{ .compatible = "qcom,sm8150-mpss-pas", .data = &mpss_resource_init },

-- 
2.56.0



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

* Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP
  2026-10-16  8:20 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document " Ishu Brar via B4 Relay
@ 2026-10-17 17:07   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-17 17:07 UTC (permalink / raw)
  To: Ishu Brar
  Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
	linux-arm-msm, linux-remoteproc, devicetree, linux-kernel

On Fri, Oct 16, 2026 at 01:50:18PM +0530, Ishu Brar wrote:
> Document the ADSP Peripheral Authentication Service on the Qualcomm
> SM7250 SoC. It has the same interrupts and LCX/LMX power domains as the
> SM6350 ADSP.
> 
> Signed-off-by: Ishu Brar <patches@brar.si>
> ---
>  Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


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

* Re: [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support
  2026-10-16  8:20 ` [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support Ishu Brar via B4 Relay
@ 2026-10-17 17:08   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-17 17:08 UTC (permalink / raw)
  To: Ishu Brar
  Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
	linux-arm-msm, linux-remoteproc, devicetree, linux-kernel

On Fri, Oct 16, 2026 at 01:50:19PM +0530, Ishu Brar wrote:
> The SM7250 ADSP uses the same PAS ID, crash reason SMEM item, SSR/sysmon
> names and proxy power domains as the SM6350 one, so reuse its resource.
> 
> Signed-off-by: Ishu Brar <patches@brar.si>
> ---
>  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 2e1e39826..365f4fa5b 100644
> --- a/drivers/remoteproc/qcom_q6v5_pas.c
> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
> @@ -2046,6 +2046,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
>  	{ .compatible = "qcom,sm6375-adsp-pas", .data = &sm6350_adsp_resource },
>  	{ .compatible = "qcom,sm6375-cdsp-pas", .data = &sm8150_cdsp_resource },
>  	{ .compatible = "qcom,sm6375-mpss-pas", .data = &sm6375_mpss_resource },
> +	{ .compatible = "qcom,sm7250-adsp-pas", .data = &sm6350_adsp_resource },

This actually suggests devices are compatible, so should be expressed
with fallback and this is not necessary.

Best regards,
Krzysztof


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16  8:20 [PATCH 0/2] remoteproc: qcom: pas: Add SM7250 ADSP Ishu Brar via B4 Relay
2026-10-16  8:20 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm6350-pas: Document " Ishu Brar via B4 Relay
2026-10-17 17:07   ` Krzysztof Kozlowski
2026-10-16  8:20 ` [PATCH 2/2] remoteproc: qcom: pas: Add SM7250 ADSP support Ishu Brar via B4 Relay
2026-10-17 17:08   ` Krzysztof Kozlowski

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®