SoC Sound Card
• Machine driver-handles any machine specific controls and audio events, such as
turning on an external amp at the beginning of playback.
• Platform driver-contains the audio DMA engine and audio interface drivers (for
2
example, I
S, AC97, PCM) for that platform.
• CODEC driver-platform independent and contains audio controls, audio interface
capabilities, the CODEC DAPM definition, and CODEC I/O functions.
More detailed information about ASoC can be found in the Linux kernel documentation
in the linux source tree at linux/Documentation/sound/alsa/soc and at
project.org/main/index.php/ASoC.
21.2 SoC Sound Card
Currently, the stereo CODEC (wm8962) drivers are implemented by using SoC
architecture.
These sound card drivers are built in independently. The stereo sound card supports
stereo playback and capture.
21.2.1 Stereo CODEC Features
The stereo CODEC supports the following features:
• Sample rates for playback and capture are 8KHz, 32 KHz, 44.1 KHz, 48 KHz, and 96
KHz
• Channels:
• Playback: supports two channels.
• Capture: supports two channels.
• Audio formats:
• Playback:
• SNDRV_PCM_FMTBIT_S16_LE
• SNDRV_PCM_FMTBIT_S20_3LE
• SNDRV_PCM_FMTBIT_S24_LE
• Capture:
• SNDRV_PCM_FMTBIT_S16_LE
• SNDRV_PCM_FMTBIT_S20_3LE
• SNDRV_PCM_FMTBIT_S24_LE
i.MX 6SoloLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
130
http://www.alsa-
Freescale Semiconductor, Inc.