[alsa-devel] [PATCH v2 0/2] Convert davinci ASoC to genalloc SRAM

Matt Porter mporter at ti.com
Thu Oct 11 23:33:47 CEST 2012

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


More information about the Alsa-devel mailing list