All of lore.kernel.org
 help / color / mirror / Atom feed
From: mengdong.lin@intel.com
To: alsa-devel@alsa-project.org, broonie@kernel.org, tiwai@suse.de,
	liam.r.girdwood@intel.com, vedang.patel@intel.com,
	subhransu.s.prusty@intel.com, vinod.koul@intel.com,
	jeeja.kp@intel.com
Cc: Mengdong Lin <mengdong.lin@intel.com>
Subject: [PATCH 7/8] ASoC: topology: ABI - Add configuration for BE & Codec-Codec DAI Links
Date: Wed, 30 Sep 2015 17:13:43 +0800	[thread overview]
Message-ID: <5a1fe81777b8416e5acc3a854aa88d8c09ab6ce3.1443602494.git.mengdong.lin@intel.com> (raw)
In-Reply-To: <cover.1443602494.git.mengdong.lin@intel.com>

From: Vedang Patel <vedang.patel@intel.com>

struct snd_soc_tplg_link_config is defined to configure BE & CC links.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index f75fd29..538ea13 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -395,4 +395,21 @@ struct snd_soc_tplg_pcm {
 	struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
 } __attribute__((packed));
 
+
+/*
+ * Describes the BE or CC link runtime supported configs or params
+ *
+ * File block representation for BE/CC link config :-
+ * +-----------------------------------+-----+
+ * | struct snd_soc_tplg_hdr           |  1  |
+ * +-----------------------------------+-----+
+ * | struct snd_soc_tplg_link_config   |  N  |
+ * +-----------------------------------+-----+
+ */
+struct snd_soc_tplg_link_config {
+	__le32 size;            /* in bytes of this structure */
+	__le32 id;              /* unique ID - used to match */
+	struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported configs playback and captrure */
+	__le32 num_streams;     /* number of streams */
+} __attribute__((packed));
 #endif
-- 
1.9.1

  parent reply	other threads:[~2015-09-30  8:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  9:02 [PATCH 0/8] ASoC: topology: ABI - Add support for PCM, BE & CC link mengdong.lin
2015-09-30  9:03 ` [PATCH 1/8] ASoC: topology: ABI - Add PCM Support and bump ABI version to 4 mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Add PCM Support and bump ABI version to 4" to the asoc tree Mark Brown
2015-09-30  9:04 ` [PATCH 2/8] ASoC: topology: ABI - Remove unused struct snd_soc_tplg_stream_config mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Remove unused struct snd_soc_tplg_stream_config" to the asoc tree Mark Brown
2015-09-30  9:05 ` [PATCH 3/8] ASoC: topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget" to the asoc tree Mark Brown
2015-09-30  9:05 ` [PATCH 4/8] ASoC: topology: ABI - Add name element to snd_soc_tplg_stream mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Add name element to snd_soc_tplg_stream" to the asoc tree Mark Brown
2015-09-30  9:05 ` [PATCH 5/8] ASoC: topology: ABI - Change stream formats to a bitwise flag mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Change stream formats to a bitwise flag" to the asoc tree Mark Brown
2015-09-30  9:12 ` [PATCH 6/8] ASoC: topology: ABI - Add the type for BE DAI link mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Add the type for BE DAI link" to the asoc tree Mark Brown
2015-09-30  9:13 ` mengdong.lin [this message]
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Add configuration for BE & Codec-Codec DAI Links" " Mark Brown
2015-09-30  9:13 ` [PATCH 8/8] ASoC: topology: ABI - Remove tdm_slot & dai_fmt from snd_soc_tplg_stream mengdong.lin
2015-10-02 17:13   ` Applied "ASoC: topology: ABI - Remove tdm_slot & dai_fmt from snd_soc_tplg_stream" to the asoc tree Mark Brown
2015-09-30  9:23 ` [PATCH 0/8] ASoC: topology: ABI - Add support for PCM, BE & CC link Lin, Mengdong

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=5a1fe81777b8416e5acc3a854aa88d8c09ab6ce3.1443602494.git.mengdong.lin@intel.com \
    --to=mengdong.lin@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=jeeja.kp@intel.com \
    --cc=liam.r.girdwood@intel.com \
    --cc=subhransu.s.prusty@intel.com \
    --cc=tiwai@suse.de \
    --cc=vedang.patel@intel.com \
    --cc=vinod.koul@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.