Repository navigation
Conversation
6e90d8f to
7064584
Compare
|
@dbaluta how would this change affect you? |
7064584 to
cc98e78
Compare
cc98e78 to
78ecc07
Compare
78ecc07 to
4dde2e5
Compare
left a comment
There was a problem hiding this comment.
LGTM, but can you also send a PR to change the topology names for rt5682-max98373 in sound/soc/intel/common and also in SOF tools/topology/CMakefile
Thanks @sathya-nujella
commented
Aug 10, 2020
|
SOFCI TEST |
commented
Aug 10, 2020
|
@sathya-nujella I was talking about a simple change like this: diff --git a/sound/soc/intel/common/soc-acpi-intel-tgl-match.c b/sound/soc/intel/common/soc-acpi-intel-tgl-match.c
index 6816847bee40..355a6d8ac175 100644
--- a/sound/soc/intel/common/soc-acpi-intel-tgl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-tgl-match.c
@@ -261,19 +261,19 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[] = {
},
{
.id = "10EC5682",
- .drv_name = "tgl_max98357a_rt5682",
+ .drv_name = "tgl_rt5682_max98357a",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &tgl_codecs,
.sof_fw_filename = "sof-tgl.ri",
- .sof_tplg_filename = "sof-tgl-max98357a-rt5682.tplg",
+ .sof_tplg_filename = "sof-tgl-rt5682-max98357a.tplg",
},
{
.id = "10EC5682",
- .drv_name = "tgl_max98373_rt5682",
+ .drv_name = "tgl_rt5682_max98373",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &tgl_max98373_amp,
.sof_fw_filename = "sof-tgl.ri",
- .sof_tplg_filename = "sof-tgl-max98373-rt5682.tplg",
+ .sof_tplg_filename = "sof-tgl-rt5682-max98373.tplg",
},
{},
};
@@ -319,7 +319,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_sdw_machines[] = {
.links = tgl_chromebook_base,
.drv_name = "sof_sdw",
.sof_fw_filename = "sof-tgl.ri",
- .sof_tplg_filename = "sof-tgl-sdw-max98373-rt5682.tplg",
+ .sof_tplg_filename = "sof-tgl-sdw-rt5682-max98373.tplg",
},
{
.link_mask = 0x1, /* this will only enable rt5682 for now */ |
commented
Aug 10, 2020
sure @plbossart , I will do. |
commented
Aug 10, 2020
Sure @plbossart , understood. I will do in a separate PR. Thanks! |
0a7d96d to
9251b90
Compare
commented
Aug 12, 2020
|
rebased on top of latest sof-dev |
9251b90 to
86a9705
Compare
commented
Aug 12, 2020
np thank you for inputs. |
A Chrome System based on tgl_max98373_rt5682 has different SSP interface configurations. Using DMI data of this variant DUT, override quirk data. Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Add tplg file override based on system DMI data matching. Based on DMI match, update tplg_filename in sof_pdata. In ACPI based systems: tplg_file name is assigned in acpi mach table. Do not update sof_pdata->tplg_filename from mach->sof_tplg_filename. This way, tplg_filename provided via dmi table will be loaded in system. Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
86a9705 to
b675928
Compare
Chrome DUT based on tgl_max98373_rt5682: override tplg and quirk data
Below changes are done here:
1)Machine driver's platform data has a copy of acpi mach data.
So, override tplg info on this platform data and use this tplg info
while loading tplg binary. Updated sof pcm.c accordingly.
configurations. Using DMI data of this variant DUT, overiride
quirk and tplg information.