Skip to content

ASoC: tlv320aic31xx: Optimize the master mode I2S clock handling

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: tlv320aic31xx: Rename AIF_IN from 'DAC IN' to 'AIF IN'sound/soc/codecs/tlv320aic31xx.c+9 -91 reply
2/2ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master modesound/soc/codecs/tlv320aic31xx.c sound/soc/codecs/tlv320aic31xx.h+23 -102 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ASoC: tlv320aic31xx: Optimize the master mode I2S clock handling

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(-)
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki