Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ASoC: doc: ReSTize machine.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 d8a5d624
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,3 +12,4 @@ The documentation is spilt into the following sections:-
   dai
   dapm
   platform
   machine
+13 −9
Original line number Diff line number Diff line
===================
ASoC Machine Driver
===================

@@ -9,6 +10,7 @@ interrupts, clocking, jacks and voltage regulators.
The machine driver can contain codec and platform specific code. It registers
the audio subsystem with the kernel as a platform device and is represented by
the following struct:-
::

  /* SoC machine */
  struct snd_soc_card {
@@ -55,6 +57,7 @@ initialisation e.g. the machine audio map can be connected to the codec audio
map, unconnected codec pins can be set as such.

struct snd_soc_dai_link is used to set up each DAI in your machine. e.g.
::

  /* corgi digital audio interface glue - connects codec <--> CPU */
  static struct snd_soc_dai_link corgi_dai = {
@@ -69,6 +72,7 @@ static struct snd_soc_dai_link corgi_dai = {
  };

struct snd_soc_card then sets up the machine with its DAIs. e.g.
::

  /* corgi audio machine driver */
  static struct snd_soc_card snd_soc_corgi = {