sof/tools/topology/topology2/sof-hda-generic.conf

183 lines
3.1 KiB
Plaintext

<searchdir:include>
<searchdir:include/common>
<searchdir:include/components>
<searchdir:include/dais>
<searchdir:include/pipelines>
<searchdir:include/pipelines/cavs>
<searchdir:platform>
<searchdir:platform/intel>
<vendor-token.conf>
<tokens.conf>
<virtual.conf>
<host-gateway-playback.conf>
<host-gateway-capture.conf>
<host-copier-gain-mixin-playback.conf>
<host-copier-gain-src-mixin-playback.conf>
<mixout-dai-copier-playback.conf>
<mixout-gain-dai-copier-playback.conf>
<mixout-aria-gain-mixin-playback.conf>
<mixout-gain-efx-dai-copier-playback.conf>
<mixout-gain-efx-mbdrc-dai-copier-playback.conf>
<mixout-gain-host-copier-capture.conf>
<dai-copier-eqiir-module-copier-capture.conf>
<dai-copier-eqiir-gain-module-copier-capture.conf>
<gain-capture.conf>
<deepbuffer-playback.conf>
<io-gateway.conf>
<io-gateway-capture.conf>
<highpass-capture-be.conf>
<data.conf>
<pcm.conf>
<pcm_caps.conf>
<fe_dai.conf>
<hda.conf>
<dmic.conf>
<pdm_config.conf>
<hw_config_simple.conf>
<manifest.conf>
<route.conf>
<common_definitions.conf>
<dmic-default.conf>
<hdmi-default.conf>
<module-copier.conf>
Define {
HDA_CONFIG "none"
PLATFORM "none"
NUM_DMICS 0
# doesn't it need to define DMIC0_HOST_PIPELINE_SINK and DMIC0_DAI_PIPELINE_SRC?
DMIC0_HOST_PIPELINE_SINK 'host-copier.6.capture'
DMIC0_DAI_PIPELINE_SRC 'module-copier.12.2'
DMIC0_DAI_COPIER 'dai-copier.DMIC.dmic01.capture'
DMIC0_DAI_EQIIR "highpass_40hz_20db"
DMIC0_PCM_CAPS 'Gain Capture 11'
}
# override defaults with platform-specific config
IncludeByKey.PLATFORM {
"mtl" "platform/intel/mtl.conf"
"lnl" "platform/intel/lnl.conf"
}
# include HDA config if needed.
IncludeByKey.HDA_CONFIG {
"mix" "cavs-mixin-mixout-hda.conf"
"efx" "cavs-mixin-mixout-efx-hda.conf"
"src" "cavs-src-mixin-mixout-hda.conf"
"benchmark" "cavs-benchmark-hda.conf"
"passthrough" "cavs-passthrough-hda.conf"
}
# include DMIC config if needed.
IncludeByKey.NUM_DMICS {
"[1-4]" "platform/intel/dmic-generic.conf"
}
Define {
NUM_HDMIS 3
HDMI1_ID 1
HDMI2_ID 2
HDMI3_ID 3
HDMI1_PCM_ID 3
HDMI2_PCM_ID 4
HDMI3_PCM_ID 5
DMIC0_PCM_ID 6
}
# always include HDMI config
<hdmi-generic.conf>
Object.Widget.virtual [
{
name 'codec0_in'
type input
index 1
}
{
name 'codec1_in'
type input
index 2
}
{
name 'codec0_out'
type output
index 3
}
{
name 'codec1_out'
type output
index 4
}
{
name 'codec2_in'
type input
index 5
}
{
name 'codec2_out'
type output
index 6
}
{
name 'iDisp1_out'
type output
index 7
}
{
name 'iDisp2_out'
type output
index 8
}
{
name 'iDisp3_out'
type output
index 9
}
{
name 'iDisp3 Tx'
type out_drv
index 0
}
{
name 'iDisp2 Tx'
type out_drv
index 1
}
{
name 'iDisp1 Tx'
type out_drv
index 2
}
{
name 'Analog CPU Playback'
type out_drv
index 3
}
{
name 'Digital CPU Playback'
type out_drv
index 4
}
{
name 'Alt Analog CPU Playback'
type out_drv
index 5
}
{
name 'Analog CPU Capture'
type input
index 6
}
{
name 'Digital CPU Capture'
type input
index 7
}
{
name 'Alt Analog CPU Capture'
type input
index 8
}
]