Skip to content

topology2: Build the topology for MTL chromebook - #6987

Merged
ranj063 merged 2 commits into
thesofproject:mainfrom
RDharageswari:23_01
Jan 25, 2023
Merged

topology2: Build the topology for MTL chromebook#6987
ranj063 merged 2 commits into
thesofproject:mainfrom
RDharageswari:23_01

Conversation

@RDharageswari

Copy link
Copy Markdown

Build the topology for the MTL chromebook with Headset on SSP 2 and speakers on SSP 0.

Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
@marc-hb
marc-hb removed their request for review January 23, 2023 22:26
@RDharageswari
RDharageswari force-pushed the 23_01 branch 3 times, most recently from 85ceed5 to d7c4e61 Compare January 24, 2023 01:51
Add variable definitions for all HS and Speaker settings such as codec
name, SSP DAI index, PCM caps names etc in preparation to make this file
reusable for variations in the SSP ports in different machines.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Build the topology for the MTL chromebook with Headset on SSP 2 and
speakers on SSP 0.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
"cavs-rt5682\;sof-mtl-max98357a-rt5682-ssp2-ssp0\;PLATFORM=mtl,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,\
PDM1_MIC_B_ENABLE=1,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-max98357a-rt5682.bin,\
DEEPBUFFER_FW_DMA_MS=10,HEADSET_SSP_DAI_INDEX=2,SPEAKER_SSP_DAI_INDEX=0,HEADSET_CODEC_NAME=SSP2-Codec,\
SPEAKER_CODEC_NAME=SSP0-Codec"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only nit-pick I would have is that the information is duplicated with HEADSET_SSP_DAI_INDEX=2 and HEADSET_CODEC_NAME=SSP2-Codec

If you need to change that's 2 variables instead of a single value.

This can be fixed as an improvement, it's good enough for now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@plbossart that feature is coming. @jsarha is working on a string concat feature that will allow us to do this.

@jsarha jsarha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally a topology PR I can understand fully on the first read. Approved with a minor nitpick.


Object.Widget.copier.1 {
stream_name 'SSP0 Playback'
stream_name '$HEADSET_PLAYBACK_PCM_STREAM_NAME'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor nitpick: Wouldn't it be cleaner to have one commit to introduce the stream name variable and another to change the name?

@ranj063
ranj063 merged commit d739207 into thesofproject:main Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants