To reuse some machine drivers in Linux kernel without hacking
dapm route info, some unsupported routes and widgets could be
added in toplogy file.
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
PCM number was not being preserved and was always zero. This would
overwrite previous PCMs and cause the FW to return invalid PCM error
messages.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
DAI Widgets need bound to a DAI link to complete the DAPM graph. This is
only working atm as we are only using one DAI. Add stream name to DAI
widgets to be used by topology binder.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This patch fixes typo in dai capture tokens and moves te buffer size
macro definition to buffer.m4
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch break up the local.m4 and build.m4 topology builder includes
into per component m4 files
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Add support in topology to define different memory capabilities that can
be included by standard pipeline definitions to set platform specific
capabilities for buffers.
This patch allows memory capabilities to be defined for each platform and
included by all pipeline definitions.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add default_hw_conf_id to set the default_hw_config_id value in
ASOC and then we can set the dai config.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This patch adds support for multiple kcontrols for the volume
widget and adds a mute switch kcontrol to the volume playback
pipeline.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
We may need to generate capture only or playback only PCMs.
Add these macros to help generate them.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Commit 0a1a9bbc492e4eb22173ed57c7f5499c8f106289 discovered a bug in
the direction of AIF widgets in relation to PCMs. AIF widgets are codec
centric in ASoC so topology must align.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1. Widget N_PCMC type should be "aif_in", not "aif_out".
2. Widget W_DAI_IN data should be "N_DAI_IN", not "N_DAI_OUT".
Signed-off-by: Xiuli Pan <xiuli.pan@intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
stream_name is not used by any machine drivers, there is no point in
providing the information to topology layers
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Add support so that different playback and capture pipelines can share
the same host PCM device.
Modify board configs to use PCM0 for playback and capture.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add a couple of missing parameters in comments, align them logically
to help the rest of us figure out what parameters mean.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Add a flag to specify whether the pipeline processing work can be
scheduled via a timer or an IRQ source. IRQ scheduling will primarily be
used by pipelines that include a DAI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Allow topology to configure the pipeline ID of any DAI specific
pipeline instead of using 0.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Some pipelines can be used to service DAIs before data is sent on to
other processing pipelines. Add scheduling and format info to DAI
pipelines.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
The wrong name is used for naming and may collide with the capture stream
on the same DAI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>