SDAA199 December   2025 AM620-Q1 , AM625 , AM625-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62P , AM62P-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Software Architecture
  6. Sound Card Information
  7. McASP - External Signals
  8. MCASP Clock Generation and Configurations
  9. Dummy Sound Card DTS Changes
  10. Single DAI Link or a Single Sound Card
  11. Multiple DAI Links - Single Card but Multiple Sub-Devices
  12. MCASP - Practical Examples
  13. 10McASP as a Receiver
    1. 10.1 ADC or Codec as Clock Master
    2. 10.2 Device Tree Changes - Codec as Master and MCASP as Slave
  14. 11MCASP as Transmitter
    1. 11.1 Device Tree Changes - With Codec as Slave and MCASP as Master
  15. 12References

Dummy Sound Card DTS Changes

For using Dummy codec in DTS, you will need to apply the following patch:

https://patchwork.kernel.org/project/alsa-devel/patch/5652E348.8080002@invoxia.com/

Device tree changes to include dummy codec and register as dummy sound card.

codec_test: codec_test {
compatible = "linux,snd-soc-dummy";
#sound-dai-cells = <0>;
status="okay";
};
 
codec_test: codec_test {
                compatible = "linux,snd-soc-dummy";
                #sound-dai-cells = <0>;
                status="okay";
        };
 
  
 
codec_audio: sound {
 
                compatible = "simple-audio-card";
                simple-audio-card,name = "AM62X-DUMMY";
                simple-audio-card,format = "i2s";
                simple-audio-card,bitclock-master = <&sound_master0>;
                simple-audio-card,frame-master = <&sound_master0>;
 
  
 
                sound_master0: simple-audio-card,cpu {
                sound-dai = <&mcasp1>;
                system-clock-direction-out;
                };
 
  
 
                simple-audio-card,codec {
                        sound-dai = <&codec_test>;
                };
        };