[alsa-devel] [PATCH 0/2] ASoC: pcm3168a: Enable multiple digital port usage
Peter Ujfalusi
peter.ujfalusi at ti.com
Thu Jun 20 11:26:54 CEST 2019
Hi,
On my board the pcm3168a's DIN1/2/3/4 and DOUT1/2/3 is connected to separate
McASP serializers.
I can run the audio in DIN1/DOUT1 mode (DSP_A, and switching between TDM and
normal mode), but I need to run the codec in multi DIN/DOUT mode which was not
possible as the driver is hardwired to DIN1/DOUT1 mode.
Use the set_tdm_slots we get information on the number of slots per FS so we can
use this to decide if we need to use multiple digital ports in parallel or to
use single ones in TDM mode.
The default mode remains DIN1/DOUT1.
Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: pcm3168a: Rename min_frame_size to slot_width
ASoC: pcm3168a: Add support for multi DIN/DOUT with TDM slots
parameter
sound/soc/codecs/pcm3168a.c | 41 ++++++++++++++++++++++++++-----------
1 file changed, 29 insertions(+), 12 deletions(-)
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the Alsa-devel
mailing list