Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Question about TDM "slot"
@ 2015-11-17  8:49 Kuninori Morimoto
  2015-11-17 10:52 ` Mark Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Kuninori Morimoto @ 2015-11-17  8:49 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA, Simon, Liam Girdwood


Hi

I would like to ask you about what does TDM "slot" mean on
snd_soc_of_parse_tdm_slot() / snd_soc_dai_set_tdm_slot().
Is slot = 3 in this case ?

  |     |--- 2ch --> |       |
  | CPU |--- 2ch --> | Codec |
  |     |--- 2ch --> |       |  total 6ch

If this is correct, I have other question about slot_width.
snd_soc_dai_set_tdm_slot comments say

	slot_width: Width in bits for each slot.

Does this mean it will be 2ch x system word bit ?
I know some codec chip have below style.
Does it unexpected ?

  |     |--- 8ch --> |       |
  | CPU |--- 4ch --> | Codec | total 12ch

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-11-29 23:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17  8:49 Question about TDM "slot" Kuninori Morimoto
2015-11-17 10:52 ` Mark Brown
2015-11-18  7:27   ` Kuninori Morimoto
2015-11-18  7:27   ` Kuninori Morimoto
2015-11-18  7:28   ` Kuninori Morimoto
2015-11-18  7:29   ` Kuninori Morimoto
2015-11-18  7:37   ` Kuninori Morimoto
2015-11-18 11:30     ` Mark Brown
2015-11-19  0:33       ` Kuninori Morimoto
2015-11-27  8:55         ` Kuninori Morimoto
2015-11-27 11:36           ` Mark Brown
2015-11-29 23:49             ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox