[alsa-devel] [PATCH 0/2] ASoC: tlv320aic31xx: Optimize the master mode I2S clock handling

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Feb 19 10:45:06 CET 2018


Hi,

Instead of forcing DAC/ADC to be turned on, we can use P0 R29, Bit2 to let the
I2S clocks running, but we do not want it to run all the time and we do not want
I2S clocks when it is not needed (analog loopback mode).

Use DAPM_SUPPLY for the bit and connect it to the in/out AIF.

The DAPM routes can be modify to not include the DAC/ADC.

Regards,
Peter
---
Peter Ujfalusi (2):
  ASoC: tlv320aic31xx: Rename AIF_IN from 'DAC IN' to 'AIF IN'
  ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master
    mode

 sound/soc/codecs/tlv320aic31xx.c | 46 +++++++++++++++++++++++++---------------
 sound/soc/codecs/tlv320aic31xx.h |  1 +
 2 files changed, 30 insertions(+), 17 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