From: Joonyoung Shim <jy0922.shim@samsung.com>
To: Mark Brown <broonie@sirena.org.uk>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Peter Ujfalusi <peter.ujfalusi@nokia.com>,
'?????????' <kyungmin.park@samsung.com>,
????????? <bhmin@samsung.com>
Subject: Re: [PATCH 1/2] ASoC: dapm - Add DAPM for always active DAC or ADC
Date: Wed, 25 Mar 2009 17:34:57 +0900 [thread overview]
Message-ID: <49C9ECB1.9030005@samsung.com> (raw)
In-Reply-To: <20090324161510.GD5990@sirena.org.uk>
Mark Brown 쓴 글:
> On Tue, Mar 24, 2009 at 09:57:20PM +0900, Joonyoung Shim wrote:
>> This patch supports DAPM widget for always active DAC or ADC regardless
>> of stream. This widgets will be used for voice call at TWL4030 codec.
>
>> TWL4030 codec use the digital signal for voice call, so it needs DAC and
>> ADC to change signal to digital or analog, however currently DAC and ADC
>> widgets cannot support voice call because they are activated only when
>> playback or capture is executed.
>
> What's actually needed here is proper path management in the digital
> domain. Powering components on all the time is clearly suboptimal since
> it consumes power when the bypass paths aren't in use, potentially
> including power from other components
Activating always DAC or ADC widget doesn't mean powering it on all the
time. To power on DAC or ADC activated, we need one or more complete path
connecting with DAC or ADC because the power of widgets is controlled by
DAPM automatically. If complete path is no, DAC or ADC will be powered off
, so we can control the power of DAC or ADC using controls at user space.
>
> This is something that's planned in for the core (there are devices out
> there with more complex digital routing needs than can be solved with
> this sort of configuration) but I can't give you a specific schedule for
> it.
>
> What I'd suggest doing for now is providing a direct analog link from
> the ADC input to the DAC output for DAPM and then hooking in using
> events on the widgets to manage the power of the DAC and ADC manually.
Thanks, but i think hooking in using events on the widgets is impossible
because voice call is different operation with record or playback.
> When the core gains support for digital routing this can be replaced.
> Alternatively, if there is no integration with record or playback
> required then there's no reason to represent them as DACs and ADCs, they
> could be done as some other path element that DAPM does know about.
Hmm, I think additional support needs for voice call operation at ASoC, so
i suggested a way of this patch.
>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2009-03-25 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 12:57 [PATCH 1/2] ASoC: dapm - Add DAPM for always active DAC or ADC Joonyoung Shim
2009-03-24 16:15 ` Mark Brown
2009-03-25 8:34 ` Joonyoung Shim [this message]
2009-03-25 11:52 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C9ECB1.9030005@samsung.com \
--to=jy0922.shim@samsung.com \
--cc=alsa-devel@alsa-project.org \
--cc=bhmin@samsung.com \
--cc=broonie@sirena.org.uk \
--cc=kyungmin.park@samsung.com \
--cc=peter.ujfalusi@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.