[alsa-devel] [PATCH 1/1] ASoC: TWL4030: Wait RAMP_DELAY on headsetl_event: POST_PMD

Peter Ujfalusi peter.ujfalusi at nokia.com
Thu May 14 11:48:49 CEST 2009


On Thursday 14 May 2009 12:24:55 ext Mark Brown wrote:
> On Thu, May 14, 2009 at 11:09:08AM +0300, Peter Ujfalusi wrote:
> > If the order of the startup can be somehow altered to be:
> > dac -> PGA -> HS ramp up (HS enable, fake PGA)
>
> Looking at that (without any reference to the TWL4030 itself) I would do
> this by having the headset ramp up be handled by an POST_PMU event on
> the PGA.

This is not really possible with the twl4030 codec.
For simplicity, let's take the Audio left2 route:
DACL2 -> PGAL2 ---> PreDriveL
                |-> PreDriveR
                |-> HeadsetL
                |-> CarkitL
                |-> HandsFreeL
                |-> HandsFreeR
                \-> Earpiece

At least the Headset and HandsFree needs special mantra for the pop removal.
If the Headset is not connected/used than there is no need to do the HS pop 
attenuation.

-- 
Péter


More information about the Alsa-devel mailing list