Skip to content

Conversation

@macchian
Copy link
Contributor

This topology add rt722 sdca codec on sound link 0, rt1320 left, right amplifers on soundwire link 2 and 3 without/with PCH_DMIC support.

@lgirdwood
Copy link
Member

adding @bardliao for review.
@macchian I assume non draft when validation complete ?

SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-rt722-l0-rt1320-l23-4ch.bin,DMIC0_ENHANCED_CAPTURE=true,\
EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default,\
BT_PCM_ID=20,BT_ID=10,BT_PCM_NAME=Bluetooth,ADD_BT=true,\
Copy link
Collaborator

Choose a reason for hiding this comment

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

@kv2019i @ujfalusi Do you think we need to add a suffix in the topology name to separate the topologies with and without BT? And if we do so, how do we ensure backward compatibility.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for pinging @bardliao . I think we are digging ourself into a hole here. With I2S, we had clearer separate with Chromebooks (BT enabled) and other laptops (BT offload not enabled in Linux). Now with SDW, this i sno longer the case, sof-ptl-rt722-l0-rt1320-l23-4ch.tplg could for sure be used on non-Chromebooks as well and then we do have a problem as any machine that uses this SDW codec topology and doesn't have explicit quirk in the sof_sdw mach driver, will fail to load. If you install desktop Linux to a Chromebook, that's still ok, but if it's not a Chromebook design, we have a real problem.

Not sure how to solve this. I think we'd need to start adding bt suffix for any new topology and add kernel support for the BT suffix (so chromebooks quirk will add another PCM plus load a different tplg). I don't think there is way around this otherwise.

Copy link
Collaborator

Choose a reason for hiding this comment

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

And to add, I don't think we can rename existing topologies without breaking already shipping Chromebooks. So we need to start with new topologies (at least).

Copy link
Collaborator

Choose a reason for hiding this comment

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

@kv2019i Thanks for comment. I have the same thought, too. Let me try to add the BT suffix in the kernel. However, when the -bt suffix is added, it will apply to all the existing configs. In other words, the driver will look for the topology with -bt suffix, but we don't have the topologies for the existing BT configs so far.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

@bardliao I assume this mean that this PR depends on thesofproject/linux#5518 ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@macchian
Copy link
Contributor Author

adding @bardliao for review. @macchian I assume non draft when validation complete ?
@lgirdwood , this is validated. Mark as review.

@macchian macchian marked this pull request as ready for review August 20, 2025 07:52
@lgirdwood lgirdwood added the DNM Do Not Merge tag label Aug 26, 2025
@lgirdwood
Copy link
Member

@macchian pls remove the DNM tag once kernel PR is merged. Thanks !

@macchian macchian force-pushed the dev-rt722-rt1320 branch 3 times, most recently from 8142eaf to 752ff0a Compare November 5, 2025 10:40
The topology adds support for:
RT722 sdca codec on sound link 0,
RT1320 left amplifier on soundwire link 2,
RT1320 right amplifier on soundwire link 3, respectively,

and includes PCH_DMIC and SSP2-BT support.

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
@macchian macchian changed the title Topology2: Add sof-ptl-rt722-l0-rt1320-l23/-4ch support Topology2: Add sof-ptl-rt722-l0-rt1320-4ch support Nov 13, 2025
@macchian macchian requested a review from bardliao November 13, 2025 03:08
@lgirdwood
Copy link
Member

Topology not tested by internal CI, merging.

@lgirdwood lgirdwood merged commit 46e934a into thesofproject:main Nov 18, 2025
35 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DNM Do Not Merge tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants