linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Valentin <eduardo.valentin@nokia.com>
To: ext Liam Girdwood <lrg@slimlogic.co.uk>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Tony Lindgren <tony@atomide.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	"Ujfalusi Peter (Nokia-D/Tampere)" <peter.ujfalusi@nokia.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 0/4] McBSP smart idle and DMA op mode updates for ASoC
Date: Wed, 19 May 2010 13:42:10 +0300	[thread overview]
Message-ID: <20100519104209.GI4265@besouro.research.nokia.com> (raw)
In-Reply-To: <1274213594-26554-1-git-send-email-lrg@slimlogic.co.uk>

On Tue, May 18, 2010 at 10:13:10PM +0200, Liam Girdwood wrote:
> This series expands the OMAP mcbsp driver to support changing it's DMA operating
> mode and smart idle mode from client drivers. It's primarily aimed at lowering
> the power consumption for OMAP ASoC drivers by providing methods to gate clocks
> on the mcbsp interface at runtime.
> 
> I've also added a patch to remove the mcbsp DMA op mode sysfs set functionality.
> I think DMA op mode is very specific to the mcbsp client driver _only_ and
> shouldn't really be changed by userspace. Please let me know if you use this
> feature and I'll drop this patch.

Yeah, I'm not sure if that would be strong enough argument though. Unfortunately,
this dma op mode also couples with the usage of mcbsp internal buffer. Which in the very
end will mean a compromise between delay vs. pm, as you are probably aware.

So, letting userspace to toggle this mode will also mean they can choose between pm friendly
(op mode with frame and so on) or short delay friendly (element mode).

Of course, this might not be the best way of choosing it though.

> 
> Tony, can I get your ack to upstream via ALSA if it's ok
> 
> Thanks
> 
> Liam
> 
>  arch/arm/plat-omap/include/plat/mcbsp.h |   17 +++
>  arch/arm/plat-omap/mcbsp.c              |  183 ++++++++++++++++++++++++++-----
>  sound/soc/omap/omap-mcbsp.c             |   22 ++++-
>  sound/soc/omap/omap-mcbsp.h             |    2 +
>  4 files changed, 194 insertions(+), 30 deletions(-)
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-05-19 10:42 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 20:13 [PATCH 0/4] McBSP smart idle and DMA op mode updates for ASoC Liam Girdwood
2010-05-18 20:13 ` [PATCH 1/4] OMAP: mcbsp - add omap_mcbsp_set_dma_op_mode() Liam Girdwood
2010-05-19  6:13   ` Jarkko Nikula
2010-05-19 10:50   ` Eduardo Valentin
2010-05-19 11:30     ` Liam Girdwood
2010-05-18 20:13 ` [PATCH 2/4] OMAP: mcbsp - add smart idle configuration API Liam Girdwood
2010-05-18 20:42   ` Nishanth Menon
2010-05-18 23:01   ` [alsa-devel] " Kevin Hilman
2010-05-19 10:43     ` Liam Girdwood
2010-05-19 12:15       ` Peter Ujfalusi
2010-05-19 15:33       ` Kevin Hilman
2010-05-19  5:22   ` Jarkko Nikula
2010-05-19 10:46   ` Eduardo Valentin
2010-05-19 11:21     ` [alsa-devel] " Liam Girdwood
2010-05-19 11:31       ` Eduardo Valentin
2010-05-18 20:13 ` [PATCH 3/4] ASoC: mcbsp - add machine threshold callback Liam Girdwood
2010-05-18 20:38   ` Mark Brown
2010-05-18 20:56   ` Candelaria Villarreal, Jorge
2010-05-19  5:45     ` Jarkko Nikula
2010-05-19  9:37     ` [alsa-devel] " Liam Girdwood
2010-05-18 20:13 ` [PATCH 4/4] OMAP: mcbsp - remove sysfs set for DMA op mode Liam Girdwood
2010-05-19  5:13 ` [PATCH 0/4] McBSP smart idle and DMA op mode updates for ASoC Jarkko Nikula
2010-05-19  8:31   ` Peter Ujfalusi
2010-05-19  8:37     ` Peter Ujfalusi
2010-05-19 10:52     ` Eduardo Valentin
2010-05-19 11:36       ` Peter Ujfalusi
2010-05-19 11:46         ` Eduardo Valentin
2010-05-19 12:09           ` Peter Ujfalusi
2010-05-19 10:42 ` Eduardo Valentin [this message]
2010-05-19 11:07   ` Liam Girdwood
2010-05-19 11:28     ` Eduardo Valentin
2010-05-19 12:27     ` Peter Ujfalusi
2010-05-19 14:50       ` Jarkko Nikula

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=20100519104209.GI4265@besouro.research.nokia.com \
    --to=eduardo.valentin@nokia.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=peter.ujfalusi@nokia.com \
    --cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).