On Thu, 14 May 2009 08:27:11 +0300 Peter Ujfalusi peter.ujfalusi@nokia.com wrote:
That is why I'm a bit nervous when I need to touch the core... It has been working fine for all other codes so far. In the twl4030 codec case, the playback involves the following chain in DAPM domain:
Headset, PreDrive, Carkit, Earpiece: DAC -> PGA -> Mixer -> output pin.
Handsfree: DAC -> PGA -> Mux -> output pin.
...
Is it possible to add several SND_SOC_DAPM_PRE to the DAPM routing? For example to the HeadsetL, HeadsetR, HandsFreeL and HandsFreeR? How does it than would work? If this is possible, than I can handle the correct power up/down sequences required for the twl4030 codec.
My two cents: Would it be possible to implement 'fake' PGA or amplifier into TWL outputs which only controls the power state of mixer and mux?