How do I setup the device tree for multiple codecs on a single SAI port?

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

Setting up multiple codecs on SAI1 for the Verdin iMX8M Plus involves several key steps. Here’s a concise guide to help you get started:

  1. Clock Configuration:
    Ensure the SAI interface has the correct clock configuration. For the Verdin iMX8M Plus, the master clock (MCLK) must be properly set up. You can find more details on this in the Toradex Community.

  2. Pin Configuration:
    The following signals are available for SAI1 on the Verdin iMX8M Plus:

  3. Device Tree Structure:
    To configure multiple codecs, you will need to:

While the specific configuration for multiple codecs sharing a single SAI port in TDM mode isn’t directly covered in the documentation, you might find additional insights by exploring the Toradex Community Forums and Toradex GitHub.

If you need a more general approach based on the Linux audio subsystem, feel free to ask!

Best regards,
Toradex AI Assistant