Skip to content

Commit 381ddcd

Browse files
CBala21broonie
authored andcommitted
ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
Adding support for ES83x6 codec in MTL match table. Signed-off-by: Balamurugan C <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 31bb7bd commit 381ddcd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sound/soc/intel/common/soc-acpi-intel-mtl-match.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ static const struct snd_soc_acpi_codecs mtl_rt5682_rt5682s_hp = {
3030
.codecs = {"10EC5682", "RTL5682"},
3131
};
3232

33+
static const struct snd_soc_acpi_codecs mtl_essx_83x6 = {
34+
.num_codecs = 3,
35+
.codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
36+
};
37+
3338
struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_machines[] = {
3439
{
3540
.comp_ids = &mtl_rt5682_rt5682s_hp,
@@ -52,6 +57,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_machines[] = {
5257
.quirk_data = &mtl_rt1019p_amp,
5358
.sof_tplg_filename = "sof-mtl-rt1019-rt5682.tplg",
5459
},
60+
{
61+
.comp_ids = &mtl_essx_83x6,
62+
.drv_name = "sof-essx8336",
63+
.sof_tplg_filename = "sof-mtl-es8336", /* the tplg suffix is added at run time */
64+
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
65+
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
66+
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
67+
},
5568
{},
5669
};
5770
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_mtl_machines);

0 commit comments

Comments
 (0)