All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: Seppo Ingalsuo <seppo.ingalsuo@intel.com>,
	Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	Sebastiano Carlucci <scarlucci@google.com>,
	tiwai@suse.de,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Curtis Malainey <curtis@malainey.com>,
	broonie@kernel.org
Subject: [PATCH 08/24] ASoC: SOF: topology: Add support for DC Blocker
Date: Wed, 15 Apr 2020 15:28:00 -0500	[thread overview]
Message-ID: <20200415202816.934-9-pierre-louis.bossart@linux.intel.com> (raw)
In-Reply-To: <20200415202816.934-1-pierre-louis.bossart@linux.intel.com>

From: Sebastiano Carlucci <scarlucci@google.com>

This commit adds the enumerations to support the dc blocker component
from SOF.

Reviewed-by: Curtis Malainey <curtis@malainey.com>
Reviewed-by: Seppo Ingalsuo <seppo.ingalsuo@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Sebastiano Carlucci <scarlucci@google.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 include/sound/sof/topology.h | 2 ++
 sound/soc/sof/topology.c     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/include/sound/sof/topology.h b/include/sound/sof/topology.h
index 402e0250c508..8f8d1cf649f2 100644
--- a/include/sound/sof/topology.h
+++ b/include/sound/sof/topology.h
@@ -37,6 +37,7 @@ enum sof_comp_type {
 	SOF_COMP_SELECTOR,		/**< channel selector component */
 	SOF_COMP_DEMUX,
 	SOF_COMP_ASRC,		/**< Asynchronous sample rate converter */
+	SOF_COMP_DCBLOCK,
 	/* keep FILEREAD/FILEWRITE as the last ones */
 	SOF_COMP_FILEREAD = 10000,	/**< host test based file IO */
 	SOF_COMP_FILEWRITE = 10001,	/**< host test based file IO */
@@ -206,6 +207,7 @@ enum sof_ipc_process_type {
 	SOF_PROCESS_CHAN_SELECTOR,	/**< Channel Selector */
 	SOF_PROCESS_MUX,
 	SOF_PROCESS_DEMUX,
+	SOF_PROCESS_DCBLOCK,
 };
 
 /* generic "effect", "codec" or proprietary processing component */
diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c
index 3386886fd743..e988e6b1a594 100644
--- a/sound/soc/sof/topology.c
+++ b/sound/soc/sof/topology.c
@@ -430,6 +430,7 @@ static const struct sof_process_types sof_process[] = {
 	{"CHAN_SELECTOR", SOF_PROCESS_CHAN_SELECTOR, SOF_COMP_SELECTOR},
 	{"MUX", SOF_PROCESS_MUX, SOF_COMP_MUX},
 	{"DEMUX", SOF_PROCESS_DEMUX, SOF_COMP_DEMUX},
+	{"DCBLOCK", SOF_PROCESS_DCBLOCK, SOF_COMP_DCBLOCK},
 };
 
 static enum sof_ipc_process_type find_process(const char *name)
-- 
2.20.1


  parent reply	other threads:[~2020-04-15 20:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 20:27 [PATCH 00/24] ASoC: SOF: topology and firmware IPC updates for 5.8 Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 01/24] ASoC: SOF: topology: fix: handle DAI widget connections properly with multiple CPU DAI's Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 02/24] ASoC: SOF: Mark get_ext* function ext_hdr arguments as const Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 03/24] ASoC: SOF: Introduce offset in firmware data Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 04/24] ASoC: SOF: Introduce extended manifest Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 05/24] ASoC: SOF: ext_manifest: parse firmware version Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 06/24] ASoC: SOF: ext_manifest: parse windows Pierre-Louis Bossart
2020-04-15 20:27 ` [PATCH 07/24] ASoC: SOF: ext_manifest: parse compiler version Pierre-Louis Bossart
2020-04-15 20:28 ` Pierre-Louis Bossart [this message]
2020-04-15 20:28 ` [PATCH 09/24] ASoC: SOF: add probe support extend data Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 10/24] ASoC: SOF: add debug ABI version Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 11/24] ASoC: SOF: change type char to uint8_t in info.h Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 12/24] ASoC: SOF: change type char to uint8_t in trace.h Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 13/24] ASoC: SOF: change type char to uint8_t in topology.h Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 14/24] ASoC: SOF: make sof_ipc_cc_version to fixed length Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 15/24] ASoC: SOF: Add XRUN flags field to struct sof_ipc_buffer Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 16/24] ASoC: SOF: Intel: Fix typo in header file comment text Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 17/24] ASoC: SOF: Intel: Change DMIC load IPC to fixed length Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 18/24] ASoC: SOF: Intel: Rename deprecated DMIC IPC struct field Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 19/24] ASoC: SOF: align sof_ipc_dai_alh_params with FW Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 20/24] ASoC: SOF: topology: Get ALH rate amd channels from topology Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 21/24] ASoC: SOF: topology: fix: parse hda_tokens to &config->hda Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 22/24] ASoC: SOF: topology: Get HDA rate and channels from topology Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 23/24] ASoC: SOF: topology: stop parsing when all tokens have been found Pierre-Louis Bossart
2020-04-15 20:28 ` [PATCH 24/24] ASoC: SOF: topology: handle multiple sets of tuple arrays Pierre-Louis Bossart
2020-04-15 23:36 ` [PATCH 00/24] ASoC: SOF: topology and firmware IPC updates for 5.8 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=20200415202816.934-9-pierre-louis.bossart@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=curtis@malainey.com \
    --cc=kai.vehmanen@linux.intel.com \
    --cc=scarlucci@google.com \
    --cc=seppo.ingalsuo@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 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.