Skip to content

Commit fdc6407

Browse files
author
Le Qi
committed
FROMLIST: arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
Add the sound card node for QCS615 Talos EVK with DA7212 codec connected over the Primary MI2S interface. The configuration enables headphone playback and headset microphone capture, both of which have been tested to work. Link: https://lore.kernel.org/all/20260409030156.155455-3-le.qi@oss.qualcomm.com/ Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
1 parent db7b33d commit fdc6407

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/talos-evk.dts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/dts-v1/;
66

77
#include "talos-evk-som.dtsi"
8+
#include <dt-bindings/sound/qcom,q6afe.h>
89

910
/ {
1011
model = "Qualcomm QCS615 IQ 615 EVK";
@@ -40,6 +41,46 @@
4041
};
4142
};
4243

44+
sound {
45+
compatible = "qcom,qcs615-sndcard";
46+
model = "TALOS-EVK";
47+
48+
pinctrl-0 = <&mi2s1_pins>, <&mi2s_mclk>;
49+
pinctrl-names = "default";
50+
51+
pri-mi2s-capture-dai-link {
52+
link-name = "Primary MI2S Capture";
53+
54+
codec {
55+
sound-dai = <&codec_da7212>;
56+
};
57+
58+
cpu {
59+
sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>;
60+
};
61+
62+
platform {
63+
sound-dai = <&q6apm>;
64+
};
65+
};
66+
67+
pri-mi2s-playback-dai-link {
68+
link-name = "Primary MI2S Playback";
69+
70+
codec {
71+
sound-dai = <&codec_da7212>;
72+
};
73+
74+
cpu {
75+
sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
76+
};
77+
78+
platform {
79+
sound-dai = <&q6apm>;
80+
};
81+
};
82+
};
83+
4384
vreg_v1p8_out: regulator-v1p8-out {
4485
compatible = "regulator-fixed";
4586
regulator-name = "vreg-v1p8-out";
@@ -109,6 +150,21 @@
109150
};
110151
};
111152

153+
&i2c5 {
154+
status = "okay";
155+
156+
codec_da7212: codec@1a {
157+
compatible = "dlg,da7212";
158+
reg = <0x1a>;
159+
#sound-dai-cells = <0>;
160+
clocks = <&q6prmcc LPASS_CLK_ID_MCLK_2 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
161+
clock-names = "mclk";
162+
VDDA-supply = <&vreg_v1p8_out>;
163+
VDDIO-supply = <&vreg_v1p8_out>;
164+
VDDMIC-supply = <&vreg_v3p3_out>;
165+
};
166+
};
167+
112168
&mdss_dsi0_out {
113169
remote-endpoint = <&adv7535_in>;
114170
data-lanes = <0 1 2 3>;

0 commit comments

Comments
 (0)