Thread (50 messages) 50 messages, 2 authors, 2024-02-01
STALE909d REVIEWED: 7 (7M)
Revisions (38)
  1. v3 [diff vs current]
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]
  6. v8 [diff vs current]
  7. v9 [diff vs current]
  8. v10 [diff vs current]
  9. v11 [diff vs current]
  10. v12 current
  11. v13 [diff vs current]
  12. v14 [diff vs current]
  13. v15 [diff vs current]
  14. v16 [diff vs current]
  15. v17 [diff vs current]
  16. v18 [diff vs current]
  17. v19 [diff vs current]
  18. v20 [diff vs current]
  19. v21 [diff vs current]
  20. v22 [diff vs current]
  21. v23 [diff vs current]
  22. v24 [diff vs current]
  23. v25 [diff vs current]
  24. v26 [diff vs current]
  25. v27 [diff vs current]
  26. v28 [diff vs current]
  27. v28 [diff vs current]
  28. v28 [diff vs current]
  29. v29 [diff vs current]
  30. v30 [diff vs current]
  31. v31 [diff vs current]
  32. v32 [diff vs current]
  33. v33 [diff vs current]
  34. v34 [diff vs current]
  35. v35 [diff vs current]
  36. v36 [diff vs current]
  37. v37 [diff vs current]
  38. v38 [diff vs current]

[PATCH v12 26/41] ASoC: dt-bindings: Update example for enabling USB offload on SM8250

From: Wesley Cheng <hidden>
Date: 2024-01-02 21:46:57
Also in: alsa-devel, linux-arm-msm, linux-doc, linux-sound, linux-usb, lkml
Subsystem: arm/qualcomm mailing list, open firmware and flattened device tree bindings, qcom audio (asoc) drivers, sound - soc layer / dynamic audio power management (asoc), the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Srinivas Kandagatla, Liam Girdwood, Mark Brown, Linus Torvalds

Add an example on enabling of USB offload for the Q6DSP.  The routing can
be done by the mixer, which can pass the multimedia stream to the USB
backend.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wesley Cheng <redacted>
---
 .../devicetree/bindings/sound/qcom,sm8250.yaml    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
index e082a4fe095d..24eba5f6a304 100644
--- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
@@ -221,6 +221,21 @@ examples:
                 sound-dai = <&vamacro 0>;
             };
         };
+
+        usb-dai-link {
+            link-name = "USB Playback";
+            cpu {
+                sound-dai = <&q6afedai USB_RX>;
+            };
+
+            codec {
+                sound-dai = <&usbdai USB_RX>;
+            };
+
+            platform {
+                sound-dai = <&q6routing>;
+            };
+        };
     };
 
   - |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help