Skip to contentSkip to conversation

arm64: dts: qcom: hamoa-evk: Add DP0/DP1 audio playback support

PATCH Applied Le Qi 4 participants 6 messages Feb 10 – Mar 30

Subsystems (3)
lore
Share & tools
lore

Le Qi

author
#0 lore raw

PATCH v2 1/1 arm64: dts: qcom: hamoa-evk: Add DP0/DP1 audio playback support

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

---
Changelog:

v2:
- Changed commit message to explain motivation
- Removed redundant sound-name-prefix properties for DP0/DP1, since these are already defined in the SoC DTSI.
- v1-link: https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +32 -0
index 2390648a248f..4428c8f45493 100644
@@ -616,6 +616,38 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp0-dai-link {
+			link-name = "DP0 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp0>;
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
+
+		dp1-dai-link {
+			link-name = "DP1 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp1>;
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_1>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
 	};
 
 	usb-1-ss0-sbu-mux {
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · On 10/02/2026 03:40, Le Qi wrote:

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

---
Changelog:

Best regards,
Krzysztof

Reviewed-by on v2 1/1
#2 lore raw
In reply to Le Qi
Quoted 5 lines · On 2/10/26 3:40 AM, Le Qi wrote:

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

---

No DP2?

[...]

arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts platform { · line 620

Quoted 8 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +2 -0
@@ -616,6 +616,38 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp0-dai-link {

Ideally, these would be sorted alphabetically (so, above 'wcd-foo')

Konrad

maintainer Applied
#3 lore raw
In reply to Le Qi
Quoted 5 lines · On Tue, 10 Feb 2026 10:40:37 +0800, Le Qi wrote:

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

Applied, thanks!

[1/1] arm64: dts: qcom: hamoa-evk: Add DP0/DP1 audio playback support

      commit: a210cb039b41a68595c517918640813430a1c8ca

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>
maintainer
#4 lore raw
In reply to Le Qi
Quoted 7 lines · On Tue, Feb 10, 2026 at 10:40:37AM +0800, Le Qi wrote:

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

---
Changelog:

Quoted 7 lines

v2:
- Changed commit message to explain motivation
- Removed redundant sound-name-prefix properties for DP0/DP1, since these are already defined in the SoC DTSI.
- v1-link: https://lore.kernel.org/all/[email protected]/

This should be here, now I had to rebase my whole tree to fix the missing s-o-b. Please use b4 to avoid such mistakes.

Regards,
Bjorn

Quoted 50 lines
---
 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +32 -0
index 2390648a248f..4428c8f45493 100644
@@ -616,6 +616,38 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp0-dai-link {
+			link-name = "DP0 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp0>;
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
+
+		dp1-dai-link {
+			link-name = "DP1 Playback";
+
+			codec {
+				sound-dai = <&mdss_dp1>;
+			};
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_1>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
 	};
 
 	usb-1-ss0-sbu-mux {
Signature · 1 line
2.34.1
maintainer Applied
#5 lore raw
In reply to Le Qi
Quoted 5 lines · On Tue, 10 Feb 2026 10:40:37 +0800, Le Qi wrote:

The hamoa-evk DTS currently lacks DAI links for DP0 and DP1, preventing the sound card from exposing these playback paths. Add the missing links to enable audio output on both DP interfaces.

Applied, thanks!

[1/1] arm64: dts: qcom: hamoa-evk: Add DP0/DP1 audio playback support

      commit: 20eb0aa76f7ceebbf897019e3eeeca0a1d24e3f5

Best regards,

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