Commit d8a5d624 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ASoC: doc: ReSTize platform.txt



A simple conversion from a plain text file.

Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 77190f03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,3 +11,4 @@ The documentation is spilt into the following sections:-
   codec
   dai
   dapm
   platform
+17 −14
Original line number Diff line number Diff line
====================
ASoC Platform Driver
====================

@@ -9,6 +10,7 @@ Audio DMA
=========

The platform DMA driver optionally supports the following ALSA operations:-
::

  /* SoC audio ops */
  struct snd_soc_ops {
@@ -22,6 +24,7 @@ struct snd_soc_ops {

The platform driver exports its DMA functionality via struct
snd_soc_platform_driver:-
::

  struct snd_soc_platform_driver {
	char *name;
@@ -57,11 +60,11 @@ SoC DAI Drivers

Each SoC DAI driver must provide the following features:-

 1) Digital audio interface (DAI) description
 2) Digital audio interface configuration
 3) PCM's description
 4) SYSCLK configuration
 5) Suspend and resume (optional)
1. Digital audio interface (DAI) description
2. Digital audio interface configuration
3. PCM's description
4. SYSCLK configuration
5. Suspend and resume (optional)

Please see codec.txt for a description of items 1 - 4.

@@ -71,9 +74,9 @@ SoC DSP Drivers

Each SoC DSP driver usually supplies the following features :-

 1) DAPM graph
 2) Mixer controls
 3) DMA IO to/from DSP buffers (if applicable)
 4) Definition of DSP front end (FE) PCM devices.
1. DAPM graph
2. Mixer controls
3. DMA IO to/from DSP buffers (if applicable)
4. Definition of DSP front end (FE) PCM devices.

Please see DPCM.txt for a description of item 4.