]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pcm3168a: Retain the independence of DAC and ADC side of the codec
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 12 Aug 2019 09:52:25 +0000 (12:52 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 12 Aug 2019 13:08:35 +0000 (14:08 +0100)
commit30bbccf5156afac449205a0aacabcb08ed4bbd06
treed9afcd24ff6185e59fecd93c8e724c3c9d096cca
parent52f0cfa5abde688e27b6359759a3c5e66325ec43
ASoC: pcm3168a: Retain the independence of DAC and ADC side of the codec

The DAC and ADC path of the codec is independent, have dedicated LRCK (FS)
and BCK for DAC/ADC.

They can be configured to use different format, TDM slots and slot_width if
needed.

Move these parameters under dedicated io_params structure and manage them
independently based on the dai.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190812095226.18870-2-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c