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

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

ASoC: doc: ReSTize DAI.txt



A simple conversion from a plain text file with slight reformatting /
corrections.

The file name was changed to lower letters to align with others.

Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 693ba474
Loading
Loading
Loading
Loading
+18 −10
Original line number Diff line number Diff line
==================================
ASoC Digital Audio Interface (DAI)
==================================

ASoC currently supports the three main Digital Audio Interfaces (DAI) found on
SoC controllers and portable audio CODECs today, namely AC97, I2S and PCM.

@@ -12,7 +16,7 @@ The bit clock (BCLK) is always driven by the CODEC (usually 12.288MHz) and the
frame (FRAME) (usually 48kHz) is always driven by the controller. Each AC97
frame is 21uS long and is divided into 13 time slots.

The AC97 specification can be found at :-
The AC97 specification can be found at :
http://www.intel.com/p/en_US/business/design


@@ -30,13 +34,15 @@ different sample rates.

I2S has several different operating modes:-

 o I2S - MSB is transmitted on the falling edge of the first BCLK after LRC
I2S
  MSB is transmitted on the falling edge of the first BCLK after LRC
  transition.

 o Left Justified - MSB is transmitted on transition of LRC.
Left Justified
  MSB is transmitted on transition of LRC.

 o Right Justified - MSB is transmitted sample size BCLKs before LRC
                     transition.
Right Justified
  MSB is transmitted sample size BCLKs before LRC transition.

PCM
===
@@ -51,6 +57,8 @@ is sometimes referred to as network mode).

Common PCM operating modes:-

 o Mode A - MSB is transmitted on falling edge of first BCLK after FRAME/SYNC.
Mode A
  MSB is transmitted on falling edge of first BCLK after FRAME/SYNC.

 o Mode B - MSB is transmitted on rising edge of FRAME/SYNC.
Mode B
  MSB is transmitted on rising edge of FRAME/SYNC.
+1 −0
Original line number Diff line number Diff line
@@ -9,3 +9,4 @@ The documentation is spilt into the following sections:-

   overview
   codec
   dai