Skip to content

Commit 9b6d610

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/20251204083225.1190017-3-le.qi@oss.qualcomm.com/ Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
1 parent 392c660 commit 9b6d610

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

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

Lines changed: 52 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>;
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,17 @@
109150
};
110151
};
111152

153+
&i2c5 {
154+
codec_da7212: codec@1a {
155+
compatible = "dlg,da7212";
156+
reg = <0x1a>;
157+
#sound-dai-cells = <0>;
158+
VDDA-supply = <&vreg_v1p8_out>;
159+
VDDIO-supply = <&vreg_v1p8_out>;
160+
VDDMIC-supply = <&vreg_v3p3_out>;
161+
};
162+
};
163+
112164
&mdss_dsi0_out {
113165
remote-endpoint = <&adv7535_in>;
114166
data-lanes = <0 1 2 3>;

0 commit comments

Comments
 (0)