[PATCH 0/2] ASoC: pcm3168a: Enable multiple digital port usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux