[alsa-devel] [PATCH 0/7] ASoC: omap: Deprecate omap-pcm for sdma-pcm

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Apr 25 08:18:30 CEST 2018


Hi,

omap-pcm served us well over the years, but there is no reason to keep it around
as we can rely on generic dmaengine_pcm code without the need to maintain custom
code.

The series has been tested on:
omap3 beagle-xm, omap4 PandaES, omap4 Blaze (SDP), am57xx beagle-x15, dra7 evm.

McBSP, McASP, McPDM, DMIC and HDMI audio was tested and I have found no issue
with them.

I was not able to test on OMAP1 or OMAP2 for various reasons, but mainly because
neither Nokia 770 or Nokia n810 audio probes with linux-next. It does not matter
if I have omap-pcm or sdma-pcm...

I would be grateful if someone can give tested-by or pointers on how to get
770/n810 audio working.

Regards,
Peter
---
Peter Ujfalusi (7):
  ASoC: omap: Introduce the generic_dmaengine_pcm based sdma-pcm
  ASoC: davinci-mcasp: Convert to use the sdma-pcm instead of omap-pcm
  ASoC: omap-hdmi-audio: Convert to use the sdma-pcm instead of omap-pcm
  ASoC: omap-dmic: Convert to use the sdma-pcm instead of omap-pcm
  ASoC: omap-mcpdm: Convert to use the sdma-pcm instead of omap-pcm
  ASoC: omap-mcbsp: Convert to use the sdma-pcm instead of omap-pcm
  ASoC: omap: Mark the omap-pcm as deprecated, but keep it in the tree

 sound/soc/davinci/Kconfig         |  2 +-
 sound/soc/davinci/davinci-mcasp.c |  8 ++--
 sound/soc/omap/Kconfig            | 33 ++++++++-------
 sound/soc/omap/Makefile           |  4 +-
 sound/soc/omap/omap-dmic.c        |  4 +-
 sound/soc/omap/omap-hdmi-audio.c  |  5 ++-
 sound/soc/omap/omap-mcbsp.c       |  4 +-
 sound/soc/omap/omap-mcpdm.c       |  4 +-
 sound/soc/omap/sdma-pcm.c         | 68 +++++++++++++++++++++++++++++++
 sound/soc/omap/sdma-pcm.h         | 21 ++++++++++
 10 files changed, 124 insertions(+), 29 deletions(-)
 create mode 100644 sound/soc/omap/sdma-pcm.c
 create mode 100644 sound/soc/omap/sdma-pcm.h

-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki



More information about the Alsa-devel mailing list