* [PATCH v2 0/3] arm64: dts: qcom: qcs6490-rb3gen2: Add HDMI and DP audio support
@ 2026-10-26 13:25 Karthik S
2026-10-26 13:25 ` [PATCH v2 1/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s Karthik S
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Karthik S @ 2026-10-26 13:25 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Abel Vesa, linux-arm-msm, devicetree, linux-kernel, Karthik S
This series adds audio support for the QCS6490 RB3Gen2 (kodiak) board.
The board features an LT9611UXC HDMI bridge connected over secondary
MI2S and a USB-C DisplayPort output. This series enables audio output
over both paths:
Changes included in this series:
- Patch 1/3: Enable secondary MI2S pinctrl and add the MI2S dai-link
for HDMI audio output via the LT9611UXC bridge, and sort wsa-dai-link
to maintain alphabetical order
- Patch 2/3: Add #sound-dai-cells to the LT9611UXC node to allow it
to be referenced as a sound DAI provider
- Patch 3/3: Add a DisplayPort dai-link to enable audio over USB-C DP
---
Changes since v1:
- Separate patch for #sound-dai-cells addition to lt9611.
- mi2s1-playback-dai-link kept sorted before va-dai-link.
- Subject line updated to mention kodiak.
- Patch 3 enables audio for USB-C DP only.
- Dropped patches: ASoC: qcom: q6dsp: Update bit format support for
secondary i2s and ASoC: qcom: sc8280xp: don't force S16_LE in
hw_params fixup.
Link: https://lore.kernel.org/all/20260413091937.134469-1-kumar.singh@oss.qualcomm.com/ [v1]
Signed-off-by: Karthik S <karthik.s@oss.qualcomm.com>
---
Kumar Anurag (3):
arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s
arm64: dts: qcom: qcs6490-rb3gen2: Add sound-dai-cells to lt9611
arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable DP audio
arch/arm64/boot/dts/qcom/kodiak.dtsi | 5 ++
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 69 ++++++++++++++++++--
2 files changed, 69 insertions(+), 5 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s
2026-10-26 13:25 [PATCH v2 0/3] arm64: dts: qcom: qcs6490-rb3gen2: Add HDMI and DP audio support Karthik S
@ 2026-10-26 13:25 ` Karthik S
2026-10-26 13:25 ` [PATCH v2 2/3] arm64: dts: qcom: qcs6490-rb3gen2: Add sound-dai-cells to lt9611 Karthik S
2026-10-26 13:25 ` [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable DP audio Karthik S
2 siblings, 0 replies; 4+ messages in thread
From: Karthik S @ 2026-10-26 13:25 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Abel Vesa, linux-arm-msm, devicetree, linux-kernel, Karthik S,
Kumar Anurag
Enable secondary mi2s to support HDMI audio.
Signed-off-by: Kumar Anurag <kumar.singh@oss.qualcomm.com>
Signed-off-by: Karthik S <karthik.s@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/kodiak.dtsi | 5 ++
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 52 ++++++++++++++++++--
2 files changed, 52 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
index 8c7523602d27..ea17d8b0ac89 100644
--- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
+++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
@@ -6683,6 +6683,11 @@ mi2s1_ws: mi2s1-ws-state {
function = "mi2s1_ws";
};
+ mi2s1_mclk: mi2s1-mclk-state {
+ pins = "gpio105";
+ function = "sec_mi2s";
+ };
+
sdc1_clk: sdc1-clk-state {
pins = "sdc1_clk";
};
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index 909039816a21..cd3b065a2049 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -1186,6 +1186,9 @@ &sound {
compatible = "qcom,qcs6490-rb3gen2-sndcard";
model = "QCS6490-RB3Gen2";
+ pinctrl-0 = <&mi2s1_data0>, <&mi2s1_mclk>, <&mi2s1_sclk>, <&mi2s1_ws>;
+ pinctrl-names = "default";
+
audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
"SpkrRight IN", "WSA_SPK2 OUT",
"VA DMIC0", "vdd-micb",
@@ -1193,16 +1196,15 @@ &sound {
"VA DMIC2", "vdd-micb",
"VA DMIC3", "vdd-micb";
- wsa-dai-link {
- link-name = "WSA Playback";
+ mi2s1-playback-dai-link {
+ link-name = "Secondary MI2S Playback";
codec {
- sound-dai = <&left_spkr>, <&right_spkr>,
- <&swr2 0>, <&lpass_wsa_macro 0>;
+ sound-dai = <<9611_codec 0>;
};
cpu {
- sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
+ sound-dai = <&q6apmbedai SECONDARY_MI2S_RX>;
};
platform {
@@ -1225,6 +1227,23 @@ platform {
sound-dai = <&q6apm>;
};
};
+
+ wsa-dai-link {
+ link-name = "WSA Playback";
+
+ codec {
+ sound-dai = <&left_spkr>, <&right_spkr>,
+ <&swr2 0>, <&lpass_wsa_macro 0>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
};
&spi3 {
@@ -1564,3 +1583,26 @@ &lpass_audiocc {
compatible = "qcom,qcm6490-lpassaudiocc";
/delete-property/ power-domains;
};
+
+&mi2s1_data0 {
+ drive-strength = <8>;
+ bias-disable;
+};
+
+&mi2s1_mclk {
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+};
+
+&mi2s1_sclk {
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+};
+
+&mi2s1_ws {
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+};
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/3] arm64: dts: qcom: qcs6490-rb3gen2: Add sound-dai-cells to lt9611
2026-10-26 13:25 [PATCH v2 0/3] arm64: dts: qcom: qcs6490-rb3gen2: Add HDMI and DP audio support Karthik S
2026-10-26 13:25 ` [PATCH v2 1/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s Karthik S
@ 2026-10-26 13:25 ` Karthik S
2026-10-26 13:25 ` [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable DP audio Karthik S
2 siblings, 0 replies; 4+ messages in thread
From: Karthik S @ 2026-10-26 13:25 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Abel Vesa, linux-arm-msm, devicetree, linux-kernel, Karthik S,
Kumar Anurag
Add #sound-dai-cells to lt9611 HDMI bridge to allow it to be
referenced as a sound DAI provider.
Signed-off-by: Kumar Anurag <kumar.singh@oss.qualcomm.com>
Signed-off-by: Karthik S <karthik.s@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index cd3b065a2049..f9b28791226c 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -711,6 +711,7 @@ &i2c0 {
lt9611_codec: hdmi-bridge@2b {
compatible = "lontium,lt9611uxc";
reg = <0x2b>;
+ #sound-dai-cells = <1>;
interrupts-extended = <&tlmm 24 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>;
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable DP audio
2026-10-26 13:25 [PATCH v2 0/3] arm64: dts: qcom: qcs6490-rb3gen2: Add HDMI and DP audio support Karthik S
2026-10-26 13:25 ` [PATCH v2 1/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s Karthik S
2026-10-26 13:25 ` [PATCH v2 2/3] arm64: dts: qcom: qcs6490-rb3gen2: Add sound-dai-cells to lt9611 Karthik S
@ 2026-10-26 13:25 ` Karthik S
2 siblings, 0 replies; 4+ messages in thread
From: Karthik S @ 2026-10-26 13:25 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Abel Vesa, linux-arm-msm, devicetree, linux-kernel, Karthik S,
Kumar Anurag
Add new dai link to enable audio over USB-C DisplayPort.
Signed-off-by: Kumar Anurag <kumar.singh@oss.qualcomm.com>
Signed-off-by: Karthik S <karthik.s@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index f9b28791226c..8aa91e96e44a 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -1197,6 +1197,22 @@ &sound {
"VA DMIC2", "vdd-micb",
"VA DMIC3", "vdd-micb";
+ dp-dai-link {
+ link-name = "DisplayPort0 Playback";
+
+ codec {
+ sound-dai = <&mdss_dp>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
mi2s1-playback-dai-link {
link-name = "Secondary MI2S Playback";
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-26 13:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 13:25 [PATCH v2 0/3] arm64: dts: qcom: qcs6490-rb3gen2: Add HDMI and DP audio support Karthik S
2026-10-26 13:25 ` [PATCH v2 1/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable secondary mi2s Karthik S
2026-10-26 13:25 ` [PATCH v2 2/3] arm64: dts: qcom: qcs6490-rb3gen2: Add sound-dai-cells to lt9611 Karthik S
2026-10-26 13:25 ` [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: kodiak: Enable DP audio Karthik S
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®