root@imx8mp-LPDDR4-EVK:~#[23.529459] platform sound-tlv320aic310x:延迟探头挂起
root@imx8mp-LPDDR4-EVK:~# i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:------- ----
10:------- 18岁以下 ——
第20章:你是我的女人 ------- -------
30:------- ------- ------- --
40:-------------- ------- ------- --
50:------- ------- ------- --
60:------- ------- ------- --
70:------- ----
root@imx8mp-LPDDR4-EVK:~# i2cdump -f -y 2 0x18
未指定大小(使用字节数据访问)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00:00 00 00 10 04 00 00 00 00 00 00 00 01 00 00 00 80 ...?... ?...?
10: 80 ff 78 78 78 78 78 78 06 00分00分00分00分00 。xxxxxx。
20:20 04 00 00 00 00 00 00 00 00 80 00 00 00 00 ?......... ??...
30:00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 00 00 ...?... ?……
40:00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00… … ?………
50:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
60:00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 ... .........
70:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
80:00 00 00 10 04 00 00 00 00 00 00 00 01 00 00 00 80 ...?... ?...?
90: 80 ff 78 78 78 78 78 78 06 00分00分00分00分00 。xxxxxx。
A0:20 04 00 00 00 00 00 00 00 00 00 80 00 00 00 00 ?......... ??...
B0:00 00 00 04 00 00 00 00 00 00 04 00 00 00 00 00 ...?... ?……
C0:00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00… … ?………
D0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
E0:00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 ... .........
F0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
root@imx8mp-LPDDR4-evk:/lib/modules/6.1.55 +g593a3d788681/kernel/sound/codecs# soc ls
SND-SND-V320aic31xx.ko SND-320aic3x-tlv320aic3x.ko soc soc
sound-tlv320aic310x {
152 compatible ="简单音频卡";
153 simple-audio-card, name ="sound-tlv320aic310x";
154 simple-audi-CARD、format ="I2S";
155 simple-audio-card、frame-master =<&cpudai2>;
156 simple-audio-card,bitclock-master =<&cpudai2>;
157 simple-audio-card、MCLK-FS =<256>;
158 simple-audio-card、widget =
159 "线路"、"线路输入"、
160 "扬声器"、"扬声器"、
161 "麦克风"、"麦克风插孔"、
162 "耳机"、"耳机插孔";
163 simple-audio-card,路由=
164 "扬声器"、"SPOP"、
165 "扬声器"、"SPOM"、
166 "耳机插孔"、"HPLOUT"、
167 "耳机插孔"、"HPROUT"、
168 "LINE1L"、"线路输入"、
169 "LINE1R"、"Line In"、
170 "MIC3R"、"麦克风插孔"、
171 "麦克风插孔"、"麦克风偏置";
172
173 cpudai2:simple-audi-Card,cpu {
174 sound-dai =<&sa3>;
175 };
176简单音频卡、编解码器{
177 sound-dai =<&codec>;
178个时钟=<&AUDIO_blk_Ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_MCLK1>;
179 };
180 };
编解码器:编解码器@18{
676 #sound-Da-cells=<0>;
677 pinctrl-names ="默认";
678 pinctrl-0 =<&pinctrl_tlv320>;
679 compatible ="ti, tlv320aic3101";
680 reg =<0x18>;
681时钟=<&AUDIO_blk_Ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_MCLK1>;
682个时钟名称="mclk1";
683 RESET-GPIO =<&GPIO1 10 GPIO_ACTIVE_LOW>;
684 AVDD 电源=<&buck4>;
685 IOVDD 电源=<&buck5>;
686 DRVDD 电源=<&buck4>;
687 DVDD-SUPPLY =<&buck5>;
688 };
说3 (&S){
914 #sound-Da-cells =<0>;
915 pinctrl-names ="默认值";
916 pinctrl-0 =<&pinctrl_sai3>;
917个分配的时钟=<&clk IMX8MP_CLK_SAI3>;
918 Assigned-Clock-Parents =<&clk IMX8MP_AUDIO_PLL1_OUT>
919指定时钟速率=<12288000>;
920 Clocks =<&AUDIO_blk_Ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_IPG>、<&clk IMX8MP_CLK_dummy>
921 <&AUDIO_blk_Ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_MCLK1>、<&clk IMX8MP_CLK_DUEME>
922 <&clk IMX8MP_CLK_dummy>、<&clk IMX8MP_AUDIO_PLL1_OUT>、<&clk IMX8MP_AUDIO_PLL2_OUT>;
923时钟名称="bus"、"mclk0"、"mclk1"、"mclk2"、"mclk3"、 "pll8k"、"pll11k";
924 FSL,SAI-synchronous 接收器;
925 status ="可以";
926 };
pinctrl_tlv320:tlv320grp{
1291 FSL、引脚=<
1292 MX8MP_IOMUXC_SAI3_RXC_GPIO4_IO29 0x16
1293 >;
1294 };
1295
1296 pinctrl_sai3:sai3grp{
1297 FSL、引脚=<
1298 MX8MP_IOMUXC_SAI3_TXFS_AUDIOMIX_SAI3_TX_SYNC 0xd6
1299 MX8MP_IOMUXC_SAI3_TXC_AUDIOMIX_SAI3_TX_BCLK 0xd6
1300 MX8MP_IOMUXC_SAI3_RXD_AUDIOMIX_SAI3_RX_DATA00 0xd6
1301 MX8MP_IOMUXC_SAI3_TXD_AUDIOMIX_SAI3_TX_DATA00 0xd6
1302 MX8MP_IOMUXC_SAI3_MCLK_AUDIOMIX_SAI3_MCLK 0xd6
1303 MX8MP_IOMUXC_SAI3_RXFS_GPIO4_IO28 0xd6
1304 MX8MP_IOMUXC_SAI3_RXC_GPIO4_IO29 0xd6
1305 >;
1306 };
如果需要在 DTS 中进行任何更改、请指导我。