From: mengdong.lin@intel.com
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, Mengdong Lin <mengdong.lin@intel.com>,
broonie@kernel.org, liam.r.girdwood@intel.com
Subject: [PATCH v2 00/10] ASoC: support adding PCM dynamically from topology
Date: Mon, 10 Aug 2015 22:45:20 +0800 [thread overview]
Message-ID: <cover.1439217448.git.mengdong.lin@intel.com> (raw)
From: Mengdong Lin <mengdong.lin@intel.com>
This series allows the topology core to create PCM devices dynamically.
The user can define different DAIs in the topology files for different
versions of firmware, but share a generic platform and machine driver.
A dummy DAI and DAI link can be used to register the soc card and specify
the platform with topology. Then real DAIs are created in platform probing
phase by the topology core, and the machine driver will be notified to create
relavant DAI links.
We tested using topology to create FE DAI/DAI links on Broadwell.
Mengdong Lin (10):
ASoC: Change the PCM runtime array to a list
ASoC: Define soc_init_dai_link() to wrap link intialization.
ASoC: Change 2nd argument of soc_bind_dai_link() to DAI link pointer
ASoC: Implement DAI links in a list
ASoC: Add support for dummy DAI links and PCM runtimes
ASoC: Bind new DAI links after probing components
ASoC: Support adding a DAI dynamically
ASoC: topology: Change pass number of DAI smaller than graph
ASoC: topology: Change stream formats to bitwise flag
ASOC: topology: Add PCM DAIs dynamically when loading them
include/sound/soc-dai.h | 1 +
include/sound/soc-topology.h | 1 -
include/sound/soc.h | 28 +-
include/uapi/sound/asoc.h | 2 +-
sound/soc/fsl/fsl-asoc-card.c | 10 +-
sound/soc/fsl/imx-wm8962.c | 10 +-
sound/soc/generic/simple-card.c | 12 +-
sound/soc/intel/atom/sst-mfld-platform-pcm.c | 12 +-
sound/soc/intel/boards/cht_bsw_rt5645.c | 7 +-
sound/soc/intel/boards/cht_bsw_rt5672.c | 7 +-
sound/soc/pxa/mioa701_wm9713.c | 6 +-
sound/soc/samsung/bells.c | 40 +-
sound/soc/samsung/littlemill.c | 32 +-
sound/soc/samsung/odroidx2_max98090.c | 9 +-
sound/soc/samsung/snow.c | 9 +-
sound/soc/samsung/speyside.c | 12 +-
sound/soc/samsung/tobermory.c | 21 +-
sound/soc/soc-core.c | 642 +++++++++++++++++++--------
sound/soc/soc-dapm.c | 7 +-
sound/soc/soc-pcm.c | 22 +-
sound/soc/soc-topology.c | 99 ++++-
sound/soc/tegra/tegra_wm8903.c | 3 +-
22 files changed, 701 insertions(+), 291 deletions(-)
--
1.9.1
next reply other threads:[~2015-08-10 14:32 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 14:45 mengdong.lin [this message]
2015-08-10 14:45 ` [PATCH v2 01/10] ASoC: Change the PCM runtime array to a list mengdong.lin
2015-08-14 20:02 ` Mark Brown
2015-08-17 6:28 ` Lin, Mengdong
2015-08-10 14:46 ` [PATCH v2 02/10] ASoC: Define soc_init_dai_link() to wrap link intialization mengdong.lin
2015-08-10 14:47 ` [PATCH v2 03/10] ASoC: Change 2nd argument of soc_bind_dai_link() to DAI link pointer mengdong.lin
2015-08-10 14:47 ` [PATCH v2 04/10] ASoC: Implement DAI links in a list mengdong.lin
2015-08-10 14:47 ` [PATCH v2 05/10] ASoC: Add support for dummy DAI links and PCM runtimes mengdong.lin
2015-08-14 20:22 ` Mark Brown
2015-08-17 10:01 ` Lin, Mengdong
2015-08-17 18:39 ` Mark Brown
2015-08-10 14:48 ` [PATCH v2 06/10] ASoC: Bind new DAI links after probing components mengdong.lin
2015-08-10 14:48 ` [PATCH v2 07/10] ASoC: Support adding a DAI dynamically mengdong.lin
2015-08-10 14:48 ` [PATCH v2 08/10] ASoC: topology: Change pass number of DAI smaller than graph mengdong.lin
2015-08-10 14:48 ` [PATCH v2 09/10] ASoC: topology: Change stream formats to bitwise flag mengdong.lin
2015-08-14 20:34 ` Mark Brown
2015-08-15 7:37 ` Takashi Iwai
2015-08-15 13:49 ` Lin, Mengdong
2015-08-15 14:45 ` Takashi Iwai
2015-08-15 15:25 ` Lin, Mengdong
2015-08-15 16:50 ` Takashi Iwai
2015-08-15 16:51 ` Mark Brown
2015-08-17 10:05 ` Lin, Mengdong
2015-08-15 15:14 ` Mark Brown
2015-08-15 14:59 ` Mark Brown
2015-08-15 16:52 ` Takashi Iwai
2015-08-10 14:48 ` [PATCH v2 10/10] ASOC: topology: Add PCM DAIs dynamically when loading them mengdong.lin
2015-08-15 7:56 ` [PATCH v2 00/10] ASoC: support adding PCM dynamically from topology Lars-Peter Clausen
2015-08-15 15:50 ` Mark Brown
2015-08-17 6:13 ` Lin, Mengdong
2015-08-17 10:39 ` Liam Girdwood
2015-08-17 20:05 ` Mark Brown
2015-08-18 5:17 ` Lin, Mengdong
2015-08-18 5:27 ` Mark Brown
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=cover.1439217448.git.mengdong.lin@intel.com \
--to=mengdong.lin@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@intel.com \
--cc=tiwai@suse.de \
/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