[alsa-devel] [PATCH 0/4] ASoC: TWL4030: Gain control updates, adding pre-DAC routing controls

Peter Ujfalusi peter.ujfalusi at nokia.com
Mon Dec 1 09:03:44 CET 2008


Hello,

This series adds 'proper' gain controls for:
Per-DAC common gain controls.
There are three gain controls asspciated wit a DAC in TWL,
There are four DAC can be used (in OPT_MODE=1).
Digital fine gain, Digital coarse gain, Analog gain.

Every output, except the HandsFree has their own gain controls
per channel (L/R)

Pre-DAC routings:
Digital input namings:
SDRL1: TDM #1
SDRR1: TDM #2
SDRL2: TDM #3, I2S Left
SDRR2: TDM #4, I2S Right

Mono mixing:
SDRM1: mixed SDRL1 and SDRR1
SDRM2: mixed SDRL2 and SDRR2

The possible mux settings for the DAC inputs:
DACL1 <- SDRL1, SDRM1, SDRM2, SDRL2
DACR1 <- SDRR1, SDRM1, SDRM2, SDRR2
DACL2 <- SDRL2, SDRM2
DACR2 <- SDRR2, SDRM2


---
Peter Ujfalusi (4):
 ASoC: TWL4030: Change the capture volume control to TLV
 ASoC: TWL4030: Change the common playback volume controls
 ASoC: TWL4030: Add volume controls for outputs
 ASoC: TWL4030: Add pre-DAC digital mux controls

 sound/soc/codecs/twl4030.c |   59 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)





More information about the Alsa-devel mailing list