[alsa-devel] [PATCH 4/4] ASoC: TWL4030: Add pre-DAC digital mux controls
peter.ujfalusi at nokia.com
Mon Dec 1 13:18:23 CET 2008
On Monday 01 December 2008 13:43:48 ext Mark Brown wrote:
> On Mon, Dec 01, 2008 at 10:03:48AM +0200, Peter Ujfalusi wrote:
> > Controls for selecting the digital inputs for the four
> > DAC.
> How often is this feature used at the minute? While I've got no problem
> with the code per se there's currently no framework in ASoC for handling
> digital routing which means that having the flexibility creates problems
> with DAPM (which isn't implemented yet for this codec). There's no real
> issue merging it, but it might make life easier to leave it for now.
One thing came to my mind for the use of this:
In theory, if the TWL is running in TDM (4 channel audio mode), your board file
sets the initial routing for all four channel. But at some point you want to route
mono audio to the earpiece out from the SDRL2 and SDRR2, leaving the SDRL1 and SDRR1
routings same... Or something like this.
I'm not a good 'let's define some good use case scenario' type of guy...
> Implementing digial routing support is on my radar but it's firmly below
> the V2 merge.
More information about the Alsa-devel