topology: generate HDaudio topologies without DMIC

Not all HDaudio platforms have DMIC support, generate solution without
any DMIC. This will be used in combination with NHLT information (or
kernel module parameter) by the driver to automatically select the
relevant topology.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
Pierre-Louis Bossart 2019-08-08 18:16:58 -05:00 committed by Tomasz Lauda
parent 15065eb01c
commit 6237763d96
3 changed files with 14 additions and 2 deletions

View File

@ -21,8 +21,10 @@ set(TPLGS
"sof-cht-nocodec\;sof-byt-nocodec\;-DPLATFORM=byt"
"sof-cht-max98090\;sof-cht-max98090"
"sof-cht-rt5682\;sof-cht-rt5682"
"sof-hda-generic\;sof-hda-generic\;-DCHANNELS=0"
"sof-hda-generic\;sof-hda-generic-2ch\;-DCHANNELS=2"
"sof-hda-generic\;sof-hda-generic-4ch\;-DCHANNELS=4"
"sof-hda-generic-idisp\;sof-hda-generic-idisp\;-DCHANNELS=0"
"sof-hda-generic-idisp\;sof-hda-generic-idisp-2ch\;-DCHANNELS=2"
"sof-hda-generic-idisp\;sof-hda-generic-idisp-4ch\;-DCHANNELS=4"
"sof-apl-nocodec\;sof-apl-nocodec"

View File

@ -16,12 +16,17 @@ include(`sof/tokens.m4')
# Include bxt DSP configuration
include(`platform/intel/bxt.m4')
# Define pipline id for intel-generic-dmic.m4
# Define pipeline id for intel-generic-dmic.m4
# to generate dmic setting
ifelse(CHANNELS, `0', ,
`
define(DMIC_PIPELINE_48k_ID, `5')
define(DMIC_PIPELINE_16k_ID, `6')
include(`platform/intel/intel-generic-dmic.m4')
'
)
#
# Define the pipelines

View File

@ -16,12 +16,17 @@ include(`sof/tokens.m4')
# Include bxt DSP configuration
include(`platform/intel/bxt.m4')
# Define pipline id for intel-generic-dmic.m4
# Define pipeline id for intel-generic-dmic.m4
# to generate dmic setting
ifelse(CHANNELS, `0', ,
`
define(DMIC_PIPELINE_48k_ID, `10')
define(DMIC_PIPELINE_16k_ID, `11')
include(`platform/intel/intel-generic-dmic.m4')
'
)
#
# Define the pipelines