From d7d1943ca8de79b45ed9e05d7d71f12a49c80839 Mon Sep 17 00:00:00 2001 From: Mac Chiang Date: Wed, 14 Jan 2026 14:30:52 +0800 Subject: [PATCH 1/2] ASoC: SOF: Intel: hda: add SDCA property check 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. Singed-off-by: Mac Chiang --- sound/soc/sof/intel/hda.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c index 762100f7547ff9..4f47ea417ec81d 100644 --- a/sound/soc/sof/intel/hda.c +++ b/sound/soc/sof/intel/hda.c @@ -1138,6 +1138,12 @@ static bool is_endpoint_present(struct sdw_slave *sdw_device, { int i; + /* If SDCA is not present, use the dai endpoints from codec_info_list */ + if (!sdw_device->sdca_data.interface_revision) { + dev_warn(&sdw_device->dev, "SDCA properties not found in BIOS\n"); + return true; + } + for (i = 0; i < sdw_device->sdca_data.num_functions; i++) { if (dai_type == dai_info->dais[i].dai_type) return true; From 3a21abb50e5793d6cd52faa3fc1adc7e3ed44a75 Mon Sep 17 00:00:00 2001 From: Mac Chiang Date: Fri, 16 Jan 2026 10:16:40 +0800 Subject: [PATCH 2/2] ASoC: Intel: soc-acpi-intel-ptl-match: drop rt721_l3 match table By enabling the default SoundWire driver and best_effort tplg on PTL, functional topologies work on RT721 and multi-lane amplifier on link 3. Signed-off-by: Mac Chiang --- .../soc/intel/common/soc-acpi-intel-ptl-match.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c index 9e3c459d22e677..b922b8cd9475ff 100644 --- a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c @@ -374,15 +374,6 @@ static const struct snd_soc_acpi_adr_device rt721_3_single_adr[] = { } }; -static const struct snd_soc_acpi_link_adr ptl_rt721_l3[] = { - { - .mask = BIT(3), - .num_adr = ARRAY_SIZE(rt721_3_single_adr), - .adr_d = rt721_3_single_adr, - }, - {}, -}; - static const struct snd_soc_acpi_adr_device rt722_0_agg_adr[] = { { .adr = 0x000030025d072201ull, @@ -763,13 +754,6 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = { .sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l3.tplg", .get_function_tplg_files = sof_sdw_get_tplg_files, }, - { - .link_mask = BIT(3), - .links = ptl_rt721_l3, - .drv_name = "sof_sdw", - .sof_tplg_filename = "sof-ptl-rt721.tplg", - .get_function_tplg_files = sof_sdw_get_tplg_files, - }, { .link_mask = BIT(3), .links = ptl_rt722_l3,