mbox series

[0/2] ASoC: pcm3168a: DAC/ADC independence and right_j fix

Message ID 20190812095226.18870-1-peter.ujfalusi@ti.com (mailing list archive)
Headers show
Series ASoC: pcm3168a: DAC/ADC independence and right_j fix | expand

Message

Peter Ujfalusi Aug. 12, 2019, 9:52 a.m. UTC
Hi,

The first patch makes sure that the DAC and ADC side of the codec can be used
and configured independently from each other.

The second patch allows the reconfiguration of tdm_slots and slot_width. It is
needed in case the codec is configured as slave and right_j whisch is the only
mode when it can support 16 and 24 bit audio, but 16 bit requires 16 slot_width
while 24 bit can use 48 or 32 slot_width. The codec driver must allow runtime
reconfiguration of the tdm_slots and slot_width for this purpose.

Regards,
Peter
---
Peter Ujfalusi (2):
  ASoC: pcm3168a: Retain the independence of DAC and ADC side of the
    codec
  ASoC: pcm3168a: Allow reconfiguration of tdm_slots and slot_width

 sound/soc/codecs/pcm3168a.c | 129 ++++++++++++++----------------------
 1 file changed, 50 insertions(+), 79 deletions(-)