Skip to content

Audio: add CTC to PTL rt5682 path.#10696

Open
eddy1021 wants to merge 1 commit intothesofproject:mainfrom
eddy1021:ctc_ptl_rt5682_2
Open

Audio: add CTC to PTL rt5682 path.#10696
eddy1021 wants to merge 1 commit intothesofproject:mainfrom
eddy1021:ctc_ptl_rt5682_2

Conversation

@eddy1021
Copy link
Copy Markdown

Include CTC component in PTL with rt5682.

@eddy1021 eddy1021 requested a review from a team April 13, 2026 01:32
@eddy1021 eddy1021 requested review from jsarha and ranj063 as code owners April 13, 2026 01:32
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-tas2563-rt5682-dax.bin,SPK_ID=6,DEEPBUFFER_FW_DMA_MS=10,\
INCLUDE_ECHO_REF=true,BT_NAME=SSP2-BT,BT_ID=7,BT_PCM_NAME=Bluetooth,DEEP_BUF_SPK=true,\
PLAYBACK_PIPELINE_SRC=dax,DOLBY_DAX_CORE_ID=0"
"cavs-rt5682-dax-ctc\;sof-ptl-tas2563-rt5682-dax-ctc\;PLATFORM=ptl,NUM_DMICS=2,DMIC0_PCM_ID=99,\
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.

you should keep using "cavs-rt5682.conf". The variation can be handled by argument e.g. USE_CTC_SPK=true

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I refined the whole PR and added USE_CTC_SPK to switch the CTC.

Comment thread tools/topology/topology2/cavs-mixin-mixout-dax-ctc-ssp.conf Outdated
Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Looks good, just the opens already mentioned.

Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

There a lot of change here including in common files, can you add more context in the commit message especially around the changes in any common files.

Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
Comment thread tools/topology/topology2/cavs-rt5682.conf Outdated
Include CTC component in PTL with rt5682.
Introduce `USE_CTC_SPK` in `cavs-mixin-mixout-ctc-ssp.conf` and
`cavs-mixin-mixout-dax-ssp.conf` to conditionally include CTC component
in the pipeline.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
@eddy1021
Copy link
Copy Markdown
Author

Added more details in the commit message now. Thanks!

stream_name "$HEADSET_CODEC_NAME"
node_type $I2S_LINK_OUTPUT_CLASS
}
IncludeByKey.USE_CTC_SPK {
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.

Do we need to have this in cavs-mixin-mixout-ctc-ssp.conf given we already have cavs-mixin-mixout-ssp.conf for no CTC case?

sink "dai-copier.SSP.$HEADSET_CODEC_NAME.playback"
}
{
source "dai-copier.SSP.$HEADSET_CODEC_NAME.capture"
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.

why do we have the routing for capture here?

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.

3 participants