linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Convert davinci ASoC to genalloc SRAM
@ 2012-10-11 21:33 Matt Porter
  2012-10-11 21:33 ` [PATCH v2 1/2] ASoC: davinci: replace private sram api with genalloc Matt Porter
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Matt Porter @ 2012-10-11 21:33 UTC (permalink / raw)
  To: Mark Brown, gururaja.hebbar, Sekhar Nori
  Cc: Linux Kernel Mailing List, Alsa Devel List,
	Linux DaVinci Kernel List, Ben Gardiner, Daniel Mack

Changes since v1:
	- Rebased against uio_pruss/genalloc series v4 patches,
	  requiring another header to be included.
	  
This series converts davinci ASoC to use genalloc and enables
that support on DA850. It applies to mainline on top of the
uio_pruss/genalloc series [1] which allows DaVinci to provide
a gen_pool via pdata for driver use.

I've tested this on the AM180x EVM. Note that prior to this,
the SRAM paths in the driver were completely unused. I've only
enabled ping-pong buffering on the platform I can test as it's
best to allow those with DM644x and similar platforms to set the
playback/capture sram size to something that's known to work
for them.

[1] https://lkml.org/lkml/2012/10/5/425

Matt Porter (2):
  ASoC: davinci: replace private sram api with genalloc
  ARM: davinci: enable SRAM ping ping buffering on DA850

 arch/arm/mach-davinci/board-da850-evm.c   |   25 +++++++++++++++----------
 include/linux/platform_data/davinci_asp.h |    3 +++
 sound/soc/davinci/davinci-mcasp.c         |    2 ++
 sound/soc/davinci/davinci-pcm.c           |   18 ++++++++++++------
 sound/soc/davinci/davinci-pcm.h           |    2 ++
 5 files changed, 34 insertions(+), 16 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-18 15:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11 21:33 [PATCH v2 0/2] Convert davinci ASoC to genalloc SRAM Matt Porter
2012-10-11 21:33 ` [PATCH v2 1/2] ASoC: davinci: replace private sram api with genalloc Matt Porter
2012-10-12 17:15   ` Daniel Mack
2012-10-18 15:21     ` Matt Porter
2012-10-18 15:24       ` Daniel Mack
2012-10-11 21:33 ` [PATCH v2 2/2] ARM: davinci: enable SRAM ping ping buffering on DA850 Matt Porter
2012-10-12 17:11   ` Sergei Shtylyov
2012-10-18 15:18     ` Matt Porter
2012-10-17 13:51 ` [PATCH v2 0/2] Convert davinci ASoC to genalloc SRAM Mark Brown
2012-10-17 14:06   ` Daniel Mack
2012-10-18 14:41     ` Porter, Matt
2012-10-18 14:40   ` Porter, Matt

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).