mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP
@ 2026-10-24  3:54 Ishu Brar via B4 Relay
  2026-10-26 10:36 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Ishu Brar via B4 Relay @ 2026-10-24  3:54 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, so use the SM6350 compatible as a fallback.

Signed-off-by: Ishu Brar <patches@brar.si>
---
Document the ADSP remoteproc of the Qualcomm SM7250 SoC (Snapdragon
765/765G/768G) in the SM6350 PAS binding, with qcom,sm6350-adsp-pas as
fallback. The SM7250 ADSP behaves like the SM6350 one: same PAS ID, same
interrupts, same LCX/LMX power domains, same SMEM crash reason item. So the
driver needs no change.

I am bringing up mainline on a OnePlus Nord (SM7250, "avicii"). With
this binding 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.
---
Changes in v2:
- Use qcom,sm6350-adsp-pas as fallback compatible and drop the driver patch
  (Krzysztof)
- Match the fallback with contains in the allOf conditions
- Drop Reviewed-by from the binding patch, since the binding changed
- Link to v1: https://patch.msgid.link/20261016-adsp-sm7250-v1-0-2f39ac1f0496@brar.si
---
 .../bindings/remoteproc/qcom,sm6350-pas.yaml       | 23 +++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
index 42e02c643..8387471d6 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
@@ -15,10 +15,14 @@ description:
 
 properties:
   compatible:
-    enum:
-      - qcom,sm6350-adsp-pas
-      - qcom,sm6350-cdsp-pas
-      - qcom,sm6350-mpss-pas
+    oneOf:
+      - enum:
+          - qcom,sm6350-adsp-pas
+          - qcom,sm6350-cdsp-pas
+          - qcom,sm6350-mpss-pas
+      - items:
+          - const: qcom,sm7250-adsp-pas
+          - const: qcom,sm6350-adsp-pas
 
   reg:
     maxItems: 1
@@ -83,9 +87,10 @@ allOf:
   - if:
       properties:
         compatible:
-          enum:
-            - qcom,sm6350-adsp-pas
-            - qcom,sm6350-cdsp-pas
+          contains:
+            enum:
+              - qcom,sm6350-adsp-pas
+              - qcom,sm6350-cdsp-pas
     then:
       properties:
         interrupts:
@@ -102,8 +107,8 @@ allOf:
   - if:
       properties:
         compatible:
-          enum:
-            - qcom,sm6350-adsp-pas
+          contains:
+            const: qcom,sm6350-adsp-pas
     then:
       properties:
         power-domains:

---
base-commit: 23d0516587f896f5f16a47c97ddb41d28e6289ff
change-id: 20261015-adsp-sm7250-da58db1e47a6

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



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

* Re: [PATCH v2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP
  2026-10-24  3:54 [PATCH v2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP Ishu Brar via B4 Relay
@ 2026-10-26 10:36 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-26 10:36 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 Sat, Oct 24, 2026 at 09:24:27AM +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, so use the SM6350 compatible as a fallback.
> 
> Signed-off-by: Ishu Brar <patches@brar.si>
> ---

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

Best regards,
Krzysztof


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24  3:54 [PATCH v2] dt-bindings: remoteproc: qcom,sm6350-pas: Document SM7250 ADSP Ishu Brar via B4 Relay
2026-10-26 10:36 ` 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®