Skip to content

Commit 24bba55

Browse files
mohsRafiKomal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: qcs6490-rb3gen2: Add sound card
Add the sound card node with tested playback over WSA8835 speakers and digital on-board mics. Co-developed-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/linux-arm-msm/20250527111227.2318021-7-quic_pkumpatl@quicinc.com/ Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
1 parent 7639c22 commit 24bba55

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,51 @@
10551055
status = "okay";
10561056
};
10571057

1058+
&sound {
1059+
compatible = "qcom,qcs6490-rb3gen2-sndcard";
1060+
model = "qcs6490-rb3gen2-snd-card";
1061+
1062+
audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
1063+
"SpkrRight IN", "WSA_SPK2 OUT",
1064+
"VA DMIC0", "vdd-micb",
1065+
"VA DMIC1", "vdd-micb",
1066+
"VA DMIC2", "vdd-micb",
1067+
"VA DMIC3", "vdd-micb";
1068+
1069+
wsa-dai-link {
1070+
link-name = "WSA Playback";
1071+
1072+
codec {
1073+
sound-dai = <&left_spkr>, <&right_spkr>,
1074+
<&swr2 0>, <&lpass_wsa_macro 0>;
1075+
};
1076+
1077+
cpu {
1078+
sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1079+
};
1080+
1081+
platform {
1082+
sound-dai = <&q6apm>;
1083+
};
1084+
};
1085+
1086+
va-dai-link {
1087+
link-name = "VA Capture";
1088+
1089+
codec {
1090+
sound-dai = <&lpass_va_macro 0>;
1091+
};
1092+
1093+
cpu {
1094+
sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1095+
};
1096+
1097+
platform {
1098+
sound-dai = <&q6apm>;
1099+
};
1100+
};
1101+
};
1102+
10581103
&swr2 {
10591104
status = "okay";
10601105

0 commit comments

Comments
 (0)