Skip to contentSkip to conversation

arm64: dts: qcom: lemans: Enable DISPLAY-PORT

PATCH In review Kumar Anurag 2 participants 3 messages Apr 13 – Apr 14

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: lemans: Enable DISPLAY-PORT

Add dailinks for DISPLAY-PORT to enable audio functionality on edp0.

---
 arch/arm64/boot/dts/qcom/lemans-evk.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/qcom/lemans-evk.dts +16 -0
index 90fce947ca7e..daed18b1e6f5 100644
@@ -130,6 +130,22 @@ platform {
 				sound-dai = <&q6apm>;
 			};
 		};
+
+		dp0-dai-link {
+			link-name = "DisplayPort0 Playback";
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+			};
+
+			codec {
+				sound-dai = <&mdss0_dp0>;
+			};
+
+			platform {
+				sound-dai = <&q6apm>;
+			};
+		};
 	};
 
 	vbus_supply_regulator_0: regulator-vbus-supply-0 {
Signature · 1 line
2.34.1
#1 lore raw
Quoted 2 lines · Kumar Anurag

Add dailinks for DISPLAY-PORT to enable audio functionality on edp0.

"DisplayPort"

The commit title is misleading.

[...]

arch/arm64/boot/dts/qcom/lemans-evk.dts platform { · line 143

Quoted 10 lines
arch/arm64/boot/dts/qcom/lemans-evk.dts +10 -0
+		dp0-dai-link {
+			link-name = "DisplayPort0 Playback";
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+			};
+
+			codec {
+				sound-dai = <&mdss0_dp0>;
+			};

'co'dec < 'cp'u, please re-sort

Konrad

#2 lore raw
Quoted 7 lines · Konrad Dybcio
Quoted 2 lines · Kumar Anurag

Add dailinks for DISPLAY-PORT to enable audio functionality on edp0.

"DisplayPort"

The commit title is misleading.

We will change the commit title :
From: arm64: dts: qcom: lemans: Enable DISPLAY-PORT
to : arm64: dts: qcom: lemans: Enable audio playback over DisplayPort

Quoted 14 lines

[...]

arch/arm64/boot/dts/qcom/lemans-evk.dts platform { · line 143

Quoted 10 lines
arch/arm64/boot/dts/qcom/lemans-evk.dts +10 -0
+		dp0-dai-link {
+			link-name = "DisplayPort0 Playback";
+
+			cpu {
+				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+			};
+
+			codec {
+				sound-dai = <&mdss0_dp0>;
+			};

'co'dec < 'cp'u, please re-sort

Quoted 1 line

Konrad

In the other Dai links the cpu is before codec and hence we maintain the same order in dp0 dai link too.

Same pattern is observed in DTS of all qcom platforms.

Thanks & Regards
Anurag