Skip to contentSkip to conversation

arm64: dts: qcom: purwa-iot-evk: add missing DP2 audio link

PATCH Applied Le Qi 4 participants 6 messages Oct 9 – Nov 8

Subsystems (3)
lore
Share & tools
lore

Le Qi

author
#0 lore raw

PATCH 1/1 arm64: dts: qcom: purwa-iot-evk: add missing DP2 audio link

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

---
 arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +16 -0
index a811d8ca2dbf..93cefffd1f46 100644
@@ -641,6 +641,22 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp2-dai-link {
+			link-name = "DP2 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp2>;
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
 	};
 
 	wifi-bt-connector {
Signature · 1 line
2.34.1
#1 lore raw
Quoted 25 lines · On 10/9/26 5:04 AM, Le Qi wrote:

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

---
 arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +6 -0
index a811d8ca2dbf..93cefffd1f46 100644
@@ -641,6 +641,22 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp2-dai-link {
+			link-name = "DP2 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp2>;

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts platform { · line 659

Quoted 10 lines
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +10 -0
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};

Srini, can/should this be in the SoC DT?

Konrad

author
#2 lore raw
Quoted 38 lines · Konrad Dybcio
Quoted 25 lines · On 10/9/26 5:04 AM, Le Qi wrote:

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

---
  arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +6 -0
index a811d8ca2dbf..93cefffd1f46 100644
@@ -641,6 +641,22 @@ platform {
  				sound-dai = <&q6apm>;
  			};
  		};
+
+		dp2-dai-link {
+			link-name = "DP2 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp2>;

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts platform { · line 659

Quoted 10 lines
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +10 -0
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};

Srini, can/should this be in the SoC DT?

Quoted 1 line

Konrad

Hi Konrad,

I think it is better to keep this in the board DT, since the sound card is board-specific. DP0 and DP1 DAI links are already defined here, so DP2 should be added alongside them.

Srini has also agreed to adding DP2 support in the audio topology.

Thanks,

Signature · 2 lines
Thx and BRs,
Le Qi
#3 lore raw
Quoted 31 lines · On 10/29/26 3:27 AM, Le Qi wrote:
Quoted 30 lines · Konrad Dybcio
Quoted 29 lines · On 10/9/26 5:04 AM, Le Qi wrote:

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

---
  arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 16 ++++++++++++++++

  1 file changed, 16 insertions(+)
arch/arm64/ renamed from arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +0 -0

boot/dts/qcom/purwa-iot-evk.dts
index a811d8ca2dbf..93cefffd1f46 100644

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +9 -0
@@ -641,6 +641,22 @@ platform {
                   sound-dai = <&q6apm>;
               };
           };
+
+        dp2-dai-link {
+            link-name = "DP2 Playback";
+
+            codec {
+                sound-dai = <&mdss_dp2>;
+            };
+
+            cpu {
Quoted 8 lines
Quoted 8 lines

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts platform { · line 659

Quoted 7 lines
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +7 -0
+                sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+            };
+
+            platform {
+                sound-dai = <&q6apm>;
+            };
+        };

Srini, can/should this be in the SoC DT?

probably not,
1. because the dai-links do not have explicit disabled status, so these get parsed
2. sound card itself is board specific.

--srini

Quoted 13 lines
Quoted 2 lines

Konrad

Hi Konrad,

I think it is better to keep this in the board DT, since the sound card is board-specific. DP0 and DP1 DAI links are already defined here, so DP2 should be added alongside them.

Srini has also agreed to adding DP2 support in the audio topology.

Thanks,

Reviewed-by
#4 lore raw
Quoted 40 lines · Srinivas Kandagatla
Quoted 31 lines · On 10/29/26 3:27 AM, Le Qi wrote:
Quoted 30 lines · Konrad Dybcio
Quoted 29 lines · On 10/9/26 5:04 AM, Le Qi wrote:

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

---
  arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 16 ++++++++++++++++

  1 file changed, 16 insertions(+)
arch/arm64/ renamed from arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +0 -0

boot/dts/qcom/purwa-iot-evk.dts
index a811d8ca2dbf..93cefffd1f46 100644

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +9 -0
@@ -641,6 +641,22 @@ platform {
                   sound-dai = <&q6apm>;
               };
           };
+
+        dp2-dai-link {
+            link-name = "DP2 Playback";
+
+            codec {
+                sound-dai = <&mdss_dp2>;
+            };
+
+            cpu {
Quoted 8 lines
Quoted 8 lines

arch/arm64/boot/dts/qcom/purwa-iot-evk.dts platform { · line 659

Quoted 7 lines
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts +7 -0
+                sound-dai = <&q6apmbedai DISPLAY_PORT_RX_2>;
+            };
+
+            platform {
+                sound-dai = <&q6apm>;
+            };
+        };

Srini, can/should this be in the SoC DT?

Quoted 16 lines

probably not,
1. because the dai-links do not have explicit disabled status, so these get parsed
2. sound card itself is board specific.

--srini

Quoted 10 lines
Quoted 2 lines

Konrad

Hi Konrad,

I think it is better to keep this in the board DT, since the sound card is board-specific. DP0 and DP1 DAI links are already defined here, so DP2 should be added alongside them.

Srini has also agreed to adding DP2 support in the audio topology.

got it

Konrad

maintainer Applied
#5 lore raw
In reply to Le Qi
Quoted 8 lines · On Fri, 09 Oct 2026 11:04:04 +0800, Le Qi wrote:

The DP2 DAI link is missing from the sound card definition, preventing audio playback over the third DisplayPort interface.

Add the required codec, CPU, and platform DAI configuration to enable audio playback over DP2.

[...]

Applied, thanks!

[1/1] arm64: dts: qcom: purwa-iot-evk: add missing DP2 audio link

      commit: 043111daa4900b601a777d8575b938368a36b5c9

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>