This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] PCM1863:无法配置 ALSA 编解码器驱动程序(未找到声卡)

Guru**** 2390735 points
Other Parts Discussed in Thread: PCM1863

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/985555/pcm1863-unable-to-configure-alsa-codec-driver-no-soundcards-found

器件型号:PCM1863

您好!

我无法在 SAMA5D2定制板上配置音频编解码器驱动程序。

我已启用<*>德州仪器 PCM186x 编解码器-通过 menuconfig 实现 I2C 并在 DTS 文件中添加了声卡条目。

这是我的声卡条目

听起来{
               兼容="简单音频卡";
               simple-audio-card、name ="简单音频";
               simple-audio-card、format ="I2S";
               simple-audio-card、bitclock-master =<&sound_master>;
               simple-audio-card、frame-master =<&sound_master>;

               simple-audio-card、小工具=
                       "麦克风"、"麦克风插孔";
               简单音频卡,路由=
                       "MIC_IN"、"麦克风插孔";

               状态="okey";

               简单音频卡、CPU{
                       Sound-Dai =<&i2C1>;
               };

               sound_master:simple-audio-card、codec{
                       Sound-Dai =<&pcm186x>;
               };
       };

pcm186x:音频编解码器@4a{
                                       兼容="ti、pcm1863";
                                       reg =<0x4a>;

                                       AVDD-SUPPLY =<Registered_3V3_ANALOG >;
                                       DVDD 电源=<Registered_3V3>;
                                       IOVdd-supply =<Registered_1_v8>;
                               };

                               REG_3V3_ANALOG:REG_3V3_ANALOG{
                                       稳压器最小微伏=<3300000>;
                                       稳压器最大值微伏=<3300000>;
                                       稳压器常开;
                                       状态="okey";
                               };

                               REG_3V3:REG_3V3{
                                       稳压器最小微伏=<3300000>;
                                       稳压器最大值微伏=<3300000>;
                                       稳压器常开;
                                       状态="okey";
                               };

                               REG_1v8:REG_1v8{
                                       稳压器最小微伏=<1800000>;
                                       稳压器最大值微伏=<1800000>;
                                       稳压器常开;
                                       状态="okey";
                               };

i2s1:I2S@fc04c000{
                               兼容="Atmel、SAMA5D2-I2S";
                               reg =<0xfc04c000 0x100>;
                               中断=<55 IRQ_TYPE_LEVEL_HIGH 7>;
                               DMA =<&dma0
                                       (AT91_XDMAC_DT_MEM_IF (0)| AT91_XDMAC_DT_PER_IF (1)|
                                        AT91_XDMAC_DT_PERID (33))>、
                                      < dma0(&D)
                                       (AT91_XDMAC_DT_MEM_IF (0)| AT91_XDMAC_DT_PER_IF (1)|
                                        AT91_XDMAC_DT_PERID (34))>;
                               dma-names ="TX"、"Rx";
                               时钟=<&PMC PMC_TYPE_PERipheral 55>、<&PMC PMC_TYPE_GCK 55>;
                               时钟名称="pclk"、"gclk";
                               分配的时钟=<&PMC PMC_TYPE_CORE PMC_I2C1_MUX>;
                               分配的并行租金=<&PMC PMC_TYPE_GCK 55>;
                               STATUS ="禁用";
                       };

并显示引导日志

ALSA 设备列表:
 未找到声卡。

如果有人知道我忘记在 DTS 声音节点中声明什么。

谢谢你。