[alsa-devel] [PATCH 0/4] McBSP smart idle and DMA op mode updates for ASoC
eduardo.valentin at nokia.com
Wed May 19 12:42:10 CEST 2010
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
> 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 at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Alsa-devel