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.

[参考译文] PCM6260-Q1:PCM6260-Q1:设置问题

Guru**** 2455560 points


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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1316750/pcm6260-q1-pcm6260-q1-setting-problem

器件型号:PCM6260-Q1

您好

客户目前使用两个 PCM6260、/proc/asound/pcm 和/proc/asound/cards 中显示了两个器件、但在固件的 bin 文件中使用 conf 开关时、无法应用第二个 pcm6260。 当使用 arecord 进行记录时、2-0049的 pcm6260的 profile_conf_id 仍为0

是否有任何需要调整的地方?

请参阅所附的屏幕截图

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

    嗨、大家好。

    您能否提供所示电路的 和  

    它们是否位于同一个 I2C 上? 如果需要、您可以使用一个驱动程序来支持两个 pcm6260。

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

    您好,圣浩

    根据 pcmdevice 驱动程序中的文件 ti、pcmdeve.yaml、客户将两个 reg addr 组合在同一节点中。

    当前的 cat 声音如下

    root@imx8mpevk:~# cat /proc/asound/pcm 00-00: 30c2000.SAI-pcmdevice-codec.2-0048-0 : 30c2000.SAI-pLEX device-codec.2-0048-0 : codec pcmdevice-codec.2-0048-0 : codec@~/proc/asound/cards

    第二个芯片记录时、固件 bin 文件中的 PCMDEVICE 配置文件 ID 不会应用于第二个 pcm6260的内容。 我们的设计是、每个 PCM6260通过

    如何让第二块芯片也能读取 firmware.bin 的内容?  

    感谢您的帮助

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

    我们可以进行一次 conf-Call 吗? 让我给您发送邮件。

    您可以按如下所示定义两个 pcm6260、没有必要在 dts 中定义两个 i2c pcmdevices

       i2c {
         /* example for two devices with interrupt support */
         #address-cells = <1>;
         #size-cells = <0>;
         two: pcmdevice@48 {
           compatible = "ti,pcm6260";
           reg = <0x48>, /* primary-device */
                <0x4b>; /* secondary-device */
           #sound-dai-cells = <0>;
           reset-gpios = < &gpio1 10 GPIO_ACTIVE_HIGH >;
           interrupt-parent = <&gpio1>;
           interrupts = <15>;
         };
       };
    Then only one bin file with two pcm6260 register setting is enough for you.