Skip to content

Conversation

@macchian
Copy link

If SDCA property is not present in the DisCo table, do not skip codec dai endpoints. This ensures that dai links can still be
created from codec_info_list instead of being ignored.
By enabling the default SoundWire driver and best_effort tplg on PTL, functional topologies work on RT721 and multi-lane amplifier on link 3.


/* If SDCA is not present, assume the endpoint is present */
if (!sdw_device->sdca_data.interface_revision) {
dev_warn(&sdw_device->dev, "SDCA properties not found in BIOS\n");
Copy link
Member

Choose a reason for hiding this comment

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

we should probably say which endpoint to assist with integration/debug.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@lgirdwood If no sdca_data.interface_revision found means there is no SDCA properties at all. It is not just missing a specific endpoint. Also, we can't tell if an endpoint is missed or not present.

If SDCA property is not present in the DisCo table, assume it
is present. This allows DAI links to be created from codec_info_list
instead of being skipped.

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
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