6.4.4 Audio in/out
ASoC basically splits an embedded audio system into three components:
Codec driver: The codec driver is platform independent and contains
audio controls, audio interface capabilities, codec dapm definition and
codec IO functions.
Platform driver: The platform driver contains the audio dma engine
and audio interface drivers (e.g. I2S, AC97, PCM) for that platform.
Machine driver: The machine driver handles any machine specific
controls and audio events i.e. turning on an amp at start of playback.
Drivers and relevant documents:
Linux-3.2.0-psp04.06.00.08.sdk/sound/soc/
Linux-3.2.0-psp04.06.00.08.sdk/sound/soc/davinci/davinci-evm.c
Linux-3.2.0-psp04.06.00.08.sdk/sound/soc/codecs/sgtl5000.c
Page | 41