arch/arm64/boot/dts/qcom/x1-crd.dtsi | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
Add support for playing audio over USB DisplayPort (the two left USB-C
ports on the CRD device).
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Answering comments:
1. No clue about third port. I do not have a reliable working CRD
device, so I cannot test it. I add what I tested.
2. Topology and Alsa UCM were merged long time ago, so btw without this
patch CRD is negativelly affected or even broken (ALSA tries to
configure non-existing DAI links)...
Can finally this be applied after a year?
Changes since v2:
1. Rebase - sound-name-prefix are now part of DTSI.
v2: https://patch.msgid.link/20250624122933.54776-2-krzysztof.kozlowski@linaro.org
Changes since v1:
1. Rebase (x1-crd.dtsi appeared)
2. Re-order cpu/codec
3. Add blank line before status for mdss_dp
4. Tags
---
arch/arm64/boot/dts/qcom/x1-crd.dtsi | 36 ++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1-crd.dtsi b/arch/arm64/boot/dts/qcom/x1-crd.dtsi
index ded96fb43489..9e43b48496f2 100644
--- a/arch/arm64/boot/dts/qcom/x1-crd.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1-crd.dtsi
@@ -226,6 +226,38 @@ sound {
"VA DMIC3", "MIC BIAS1",
"TX SWR_INPUT1", "ADC2_OUTPUT";
+ displayport-0-dai-link {
+ link-name = "DisplayPort0 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp0>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ displayport-1-dai-link {
+ link-name = "DisplayPort1 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp1>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_1>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
wcd-playback-dai-link {
link-name = "WCD Playback";
@@ -1152,6 +1184,8 @@ &mdss {
};
&mdss_dp0 {
+ sound-name-prefix = "DisplayPort0";
+
status = "okay";
};
@@ -1160,6 +1194,8 @@ &mdss_dp0_out {
};
&mdss_dp1 {
+ sound-name-prefix = "DisplayPort1";
+
status = "okay";
};
--
2.51.0
On 09/02/2026 10:26, Krzysztof Kozlowski wrote: > Add support for playing audio over USB DisplayPort (the two left USB-C > ports on the CRD device). > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> > > --- > > Answering comments: > 1. No clue about third port. I do not have a reliable working CRD > device, so I cannot test it. I add what I tested. > > 2. Topology and Alsa UCM were merged long time ago, so btw without this > patch CRD is negativelly affected or even broken (ALSA tries to > configure non-existing DAI links)... > > Can finally this be applied after a year? > > Changes since v2: > 1. Rebase - sound-name-prefix are now part of DTSI. And this part did not happen, so v4 is coming :( Best regards, Krzysztof
© 2016 - 2026 Red Hat, Inc.