Advanced Linux Sound Architecture (ALSA) System on a Chip (ASoC) Sound Driver
i.MX51 EVK Linux Reference Manual
17-2
Freescale Semiconductor
audio record. The Bluetooth sound card supports Bluetooth PCM playback and record with Bluetooth
devices. The built-in ADC/DAC codec supports stereo playback and record.
NOTE
Only the Stereo Codec is supported on the i.MX51 platform.
17.1.1
Stereo Codec Features
The stereo codec supports the following features:
•
Sample rates for playback and capture are 32 KHz, 44.1 KHz, 48 KHz, and 96 KHz
•
Channels:
— Playback: supports two channels. (stereo)
— Capture: supports two channels. (Only one channel has valid voice data due to hardware
connection)
•
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
17.1.2
Sound Card Information
The registered sound card information can be listed as follows using the commands
aplay -l
and
arecord
-l
.
root@freescale /$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imx3stack [imx-3stack], device 0: SGTL5000 SGTL5000-PCM-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@freescale /$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: imx3stack [imx-3stack], device 0: SGTL5000 SGTL5000-PCM-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
17.2
ASoC Driver Source Architecture
As shown in
,
imx-pcm.c
is shared by the stereo ALSA SoC driver, the 5.1 ALSA SoC driver
and the Bluetooth codec driver. This file is responsible for preallocating DMA buffers and managing DMA
channels.
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...