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.

Linux/TMDSEVM572X: Audio codec configuration

Guru 16800 points

Part Number: TMDSEVM572X

Tool/software: Linux

Hello,

Could you tell me the way to set AIC3104 on TMDSEVM572X to the I2S mode?
My customers use Processor SDK Linux v.5.0.
It seems the McASP3 is set to DSP mode.
Should we change the dts file to I2S mode or change the driver for another codec?

Best Regards,
Nomo

  • Hi Nomo,

    TMDSEVM572X is using DSP_B audio format, I2S mode:


    am57xx-beagle-x15-common.dtsi

    sound0: sound0 {
    compatible = "simple-audio-card";
    ....
    simple-audio-card,format = "dsp_b";
    .....
    }

    &mcasp3 {
    op-mode = <0>; /* MCASP_IIS_MODE */
    tdm-slots = <2>;
    }

    If you need to switch from DSP_B format to I2S format, you should update only DTS file:

    -simple-audio-card,format = "dsp_b";
    +simple-audio-card,format = "i2s";

    Check below pointers for details:

    linux-4.14.40/Documentation/devicetree/bindings/sound/simple-card.txt

    linux-4.14.40/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
    linux-4.14.40/arch/arm/boot/dts/am335x-boneblack-common.dtsi

    www.ti.com/.../sprac09a.pdf

    Regards,
    Pavel
  • Nomo,

    If you have no more questions, please close/verify/resolve this thread.

    Regards,
    Pavel
  • Hello Pavel-san,

    I apologize for the delay of response.
    Now, I have no additional questions.
    When I have extra question, I'll post another thread.
    Thank you for your cooperation.

    Best Regards,
    Nomo